Signed-off-by: Amadeusz Sławiński <am...@asmblr.net> --- wrlib/load_png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wrlib/load_png.c b/wrlib/load_png.c index fa6723d..52148a8 100644 --- a/wrlib/load_png.c +++ b/wrlib/load_png.c @@ -160,7 +160,7 @@ RImage *RLoadPNG(RContext *context, const char *file) image->background.blue = bkcolor->blue >> 8; } - png_rows = calloc(height, sizeof(char *)); + png_rows = calloc(height, sizeof(png_bytep)); if (!png_rows) { RErrorCode = RERR_NOMEMORY; fclose(f); -- 1.9.3 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.