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:
committed by
Carlos R. Mafra
parent
7b413ff07f
commit
fb4cd10519
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user