summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/acc.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 /plugins/AVS/src/acc.cpp
parent62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff)
WORD -> uint16_t
Diffstat (limited to 'plugins/AVS/src/acc.cpp')
-rw-r--r--plugins/AVS/src/acc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/AVS/src/acc.cpp b/plugins/AVS/src/acc.cpp
index bc65051d2d..e6ede21b3c 100644
--- a/plugins/AVS/src/acc.cpp
+++ b/plugins/AVS/src/acc.cpp
@@ -85,11 +85,11 @@ BOOL AnimatedGifGetData(ACCData *data)
FITAG *tag = nullptr;
if (!FreeImage_GetMetadata(FIMD_ANIMATION, page, "LogicalWidth", &tag))
goto ERR;
- data->ag.logicalWidth = *(WORD *)FreeImage_GetTagValue(tag);
+ data->ag.logicalWidth = *(uint16_t *)FreeImage_GetTagValue(tag);
if (!FreeImage_GetMetadata(FIMD_ANIMATION, page, "LogicalHeight", &tag))
goto ERR;
- data->ag.logicalHeight = *(WORD *)FreeImage_GetTagValue(tag);
+ data->ag.logicalHeight = *(uint16_t *)FreeImage_GetTagValue(tag);
if (!FreeImage_GetMetadata(FIMD_ANIMATION, page, "Loop", &tag))
goto ERR;
@@ -135,12 +135,12 @@ void AnimatedGifMountFrame(ACCData* data, int page)
FITAG *tag = nullptr;
if (FreeImage_GetMetadata(FIMD_ANIMATION, dib, "FrameLeft", &tag))
- data->ag.frame.left = *(WORD *)FreeImage_GetTagValue(tag);
+ data->ag.frame.left = *(uint16_t *)FreeImage_GetTagValue(tag);
else
data->ag.frame.left = 0;
if (FreeImage_GetMetadata(FIMD_ANIMATION, dib, "FrameTop", &tag))
- data->ag.frame.top = *(WORD *)FreeImage_GetTagValue(tag);
+ data->ag.frame.top = *(uint16_t *)FreeImage_GetTagValue(tag);
else
data->ag.frame.top = 0;