Mercurial > hg > xemacs-beta
diff src/imgproc.h @ 5936:574f0cded429 cygwin
try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Sun, 13 Dec 2015 13:22:58 +0000 |
parents | 2aa9cd456ae7 |
children |
line wrap: on
line diff
--- a/src/imgproc.h Sat Dec 12 21:49:31 2015 +0000 +++ b/src/imgproc.h Sun Dec 13 13:22:58 2015 +0000 @@ -28,10 +28,10 @@ #define MAX_COLOR 256 #define B_DEPTH 5 /* # bits/pixel to use */ -#define B_LEN (1L<<B_DEPTH) +#define B_LEN (E1<<B_DEPTH) #define C_DEPTH 2 -#define C_LEN (1L<<C_DEPTH) /* # cells/color to use */ +#define C_LEN (E1<<C_DEPTH) /* # cells/color to use */ #define COLOR_SHIFT (COLOR_DEPTH-B_DEPTH)