diff options
Diffstat (limited to 'src/fixer.h')
| -rw-r--r-- | src/fixer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fixer.h b/src/fixer.h index d5c1549..42e088e 100644 --- a/src/fixer.h +++ b/src/fixer.h @@ -41,8 +41,7 @@ extern "C" { /* #define _mbclen strlen */ size_t _mbclen(const unsigned char *s); -//#define RGBA_MAKE(r,g,b,a) (((r) << 24) | ((g) << 16) | ((b) << 8) | (a)) -#define RGBA_MAKE(r,g,b,a) ((((unsigned char)a) << 24) | (((unsigned char)b) << 16) | (((unsigned char)g) << 8) | ((unsigned char)r)) +#define RGBA_MAKE(r, g, b, a) ((((a) << 24) | ((r) << 16) | ((g) << 8) | (b))) #define MAX_PATH PATH_MAX |
