1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-05 05:14:13 +01:00

wrlib: wrong type in sizeof

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
Amadeusz Sławiński
2014-05-13 23:41:34 +02:00
committed by Carlos R. Mafra
parent 7b413ff07f
commit fb4cd10519

View File

@@ -121,7 +121,7 @@ RImage *RLoadGIF(const char *file, int index)
} }
} }
buffer = malloc(width * sizeof(GifColorType)); buffer = malloc(width * sizeof(GifPixelType));
if (!buffer) { if (!buffer) {
RErrorCode = RERR_NOMEMORY; RErrorCode = RERR_NOMEMORY;
goto bye; goto bye;