diff options
-rw-r--r-- | image/xcb_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/image/xcb_image.c b/image/xcb_image.c index 2388948..701dda4 100644 --- a/image/xcb_image.c +++ b/image/xcb_image.c @@ -227,7 +227,7 @@ xcb_image_create (uint16_t width, } if (!format_valid(depth, bpp, unit, format, xpad)) return 0; - image = (xcb_image_t *)malloc(sizeof(*image)); + image = malloc(sizeof(*image)); if (image == 0) return 0; image->width = width; |