mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
Another instance of -fno-common issue. Some minor build warnings fixed. PR: 249389 Submitted by: jd.fbsd@goneja.de (maintainer) MFH: 2020Q3 (build fix, -fno-common)
20 lines
666 B
C
20 lines
666 B
C
--- src/myconvert.c.orig 2020-09-16 20:04:28 UTC
|
|
+++ src/myconvert.c
|
|
@@ -253,7 +253,7 @@ static RXImage *image2PseudoColor(RContext * ctx, RIma
|
|
const unsigned short bmask = rmask;
|
|
unsigned short *rtable, *gtable, *btable;
|
|
const int cpccpc = cpc * cpc;
|
|
- unsigned char *data;
|
|
+ char *data;
|
|
int ofs;
|
|
/*register unsigned char maxrgb = 0xff; */
|
|
|
|
@@ -420,7 +420,7 @@ static RXImage *image2GrayScale(RContext * ctx, RImage
|
|
const int cpc = ctx->attribs->colors_per_channel;
|
|
unsigned short gmask;
|
|
unsigned short *table;
|
|
- unsigned char *data;
|
|
+ char *data;
|
|
int ofs;
|
|
/*register unsigned char maxrgb = 0xff; */
|
|
|