From 1039b2829a264280493ba0fa979214fe024dc70c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 17:06:04 +0300 Subject: WORD -> uint16_t --- plugins/AVS/src/acc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/AVS/src/acc.cpp') 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; -- cgit v1.2.3