Cast allocated pointers to proper types.

Change-Id: I473135d28e1d7f16bd37652ffeaad62dfd9bbe73
diff --git a/ivfdec.c b/ivfdec.c
index 93b1f27..fc11b95 100644
--- a/ivfdec.c
+++ b/ivfdec.c
@@ -76,7 +76,7 @@
     }
 
     if (frame_size > *buffer_size) {
-      uint8_t *new_buffer = realloc(*buffer, 2 * frame_size);
+      uint8_t *new_buffer = (uint8_t *)realloc(*buffer, 2 * frame_size);
 
       if (new_buffer) {
         *buffer = new_buffer;