diff options
Diffstat (limited to 'plugins/AVS/src/image_utils.cpp')
-rw-r--r-- | plugins/AVS/src/image_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/image_utils.cpp b/plugins/AVS/src/image_utils.cpp index 3783f2ab3a..a43177ad9b 100644 --- a/plugins/AVS/src/image_utils.cpp +++ b/plugins/AVS/src/image_utils.cpp @@ -270,7 +270,7 @@ DWORD GetImgHash(HBITMAP hBitmap) GetObject(hBitmap, sizeof(bmp), &bmp);
DWORD dwLen = bmp.bmWidth * bmp.bmHeight * (bmp.bmBitsPixel / 8);
- WORD *p = (WORD *)malloc(dwLen);
+ uint16_t *p = (uint16_t *)malloc(dwLen);
if (p == nullptr)
return 0;
memset(p, 0, dwLen);
|