mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-31 13:05:52 +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) {
|
||||
RErrorCode = RERR_NOMEMORY;
|
||||
goto bye;
|
||||
|
||||
Reference in New Issue
Block a user