... | ... |
@@ -150,7 +150,7 @@ static void png_save2(const char *filename, uint32_t *bitmap, int w, int h) |
150 | 150 |
} |
151 | 151 |
#endif |
152 | 152 |
|
153 |
-#define RGBA(r,g,b,a) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b)) |
|
153 |
+#define RGBA(r,g,b,a) (((unsigned)(a) << 24) | ((r) << 16) | ((g) << 8) | (b)) |
|
154 | 154 |
|
155 | 155 |
typedef struct DVBSubCLUT { |
156 | 156 |
int id; |