summaryrefslogtreecommitdiff
path: root/libs/freeimage/src/FreeImage/ConversionRGBF.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
commit1039b2829a264280493ba0fa979214fe024dc70c (patch)
tree8fa6a60eb46627582c372b56a4a1d4754d6732c3 /libs/freeimage/src/FreeImage/ConversionRGBF.cpp
parent62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff)
WORD -> uint16_t
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++) {