Commit d6153ce9 authored by Felix Riemann's avatar Felix Riemann Committed by Hiroyuki Ikezoe

Use semi-implict casting to fix a crash in pixman.

Fix for bug #589612.
parent cc027e54
......@@ -87,7 +87,7 @@ rsvg_handle_get_pixbuf_sub (RsvgHandle * handle, const char *id)
rowstride = dimensions.width * 4;
pixels = g_try_malloc0 (dimensions.width * dimensions.height * 4);
pixels = g_try_malloc0 (dimensions.width * dimensions.height * 4UL);
if (!pixels)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment