diff options
Diffstat (limited to 'tiff/contrib/dbs/tiff-rgb.c')
-rw-r--r-- | tiff/contrib/dbs/tiff-rgb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tiff/contrib/dbs/tiff-rgb.c b/tiff/contrib/dbs/tiff-rgb.c index d14ed005..f912cb99 100644 --- a/tiff/contrib/dbs/tiff-rgb.c +++ b/tiff/contrib/dbs/tiff-rgb.c @@ -29,7 +29,7 @@ #include "tiffio.h" -#define ROUND(x) (uint16) ((x) + 0.5) +#define ROUND(x) (uint16_t) ((x) + 0.5) #define CMSIZE 256 #define WIDTH 525 #define HEIGHT 512 @@ -45,7 +45,7 @@ int main(int argc, char **argv) int i, j; TIFF * tif; unsigned char * scan_line; - uint16 red[CMSIZE], green[CMSIZE], blue[CMSIZE]; + uint16_t red[CMSIZE], green[CMSIZE], blue[CMSIZE]; float refblackwhite[2*3]; programName = argv[0]; |