summaryrefslogtreecommitdiff
path: root/libs/freeimage/src/FreeImage/ConversionRGBF.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/freeimage/src/FreeImage/ConversionRGBF.cpp')
-rw-r--r--libs/freeimage/src/FreeImage/ConversionRGBF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/freeimage/src/FreeImage/ConversionRGBF.cpp b/libs/freeimage/src/FreeImage/ConversionRGBF.cpp
index d1f7611caa..bc24ce2b51 100644
--- a/libs/freeimage/src/FreeImage/ConversionRGBF.cpp
+++ b/libs/freeimage/src/FreeImage/ConversionRGBF.cpp
@@ -130,7 +130,7 @@ FreeImage_ConvertToRGBF(FIBITMAP *dib) {
uint8_t *dst_bits = (uint8_t*)FreeImage_GetBits(dst);
for(unsigned y = 0; y < height; y++) {
- const WORD *src_pixel = (WORD*)src_bits;
+ const uint16_t *src_pixel = (uint16_t*)src_bits;
FIRGBF *dst_pixel = (FIRGBF*)dst_bits;
for(unsigned x = 0; x < width; x++) {