Commit ea0dec98 authored by Ryan Pavlik's avatar Ryan Pavlik
Browse files

a/util: Cast realloc results.

parent dbbfe8e4
......@@ -205,7 +205,7 @@ ensure_data(struct u_sink_converter *s, uint32_t w, uint32_t h)
u_format_size_for_dimensions(s->format, s->width, s->height, &s->stride,
s->data = realloc(s->data, s->size);
s->data = (uint8_t *)realloc(s->data, s->size);
static void
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