summaryrefslogtreecommitdiff
path: root/libs/freeimage/src/FreeImage/ConversionRGB16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/freeimage/src/FreeImage/ConversionRGB16.cpp')
-rw-r--r--libs/freeimage/src/FreeImage/ConversionRGB16.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/freeimage/src/FreeImage/ConversionRGB16.cpp b/libs/freeimage/src/FreeImage/ConversionRGB16.cpp
index 9e6fbc0bec..4852a58866 100644
--- a/libs/freeimage/src/FreeImage/ConversionRGB16.cpp
+++ b/libs/freeimage/src/FreeImage/ConversionRGB16.cpp
@@ -88,7 +88,7 @@ FreeImage_ConvertToRGB16(FIBITMAP *dib) {
const unsigned bytespp = FreeImage_GetLine(src) / FreeImage_GetWidth(src);
for(unsigned y = 0; y < height; y++) {
- const BYTE *src_bits = (BYTE*)FreeImage_GetScanLine(src, y);
+ const uint8_t *src_bits = (uint8_t*)FreeImage_GetScanLine(src, y);
FIRGB16 *dst_bits = (FIRGB16*)FreeImage_GetScanLine(dst, y);
for(unsigned x = 0; x < width; x++) {
dst_bits[x].red = src_bits[FI_RGBA_RED] << 8;