commit | 48f2fe15b571a47898cb5c7732eaa6897987be6e | [log] [tgz] |
---|---|---|
author | Nathan E. Egge <negge@mozilla.com> | Tue Oct 11 14:20:20 2016 -0400 |
committer | Nathan Egge <negge@mozilla.com> | Thu Mar 09 01:34:26 2017 +0000 |
tree | 1f9f41a9144cd7fbccf825c0251058928309a4ea | |
parent | 7e9f59e059c4bf4b4215f4c3eb91c301895737b7 [diff] [blame] |
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;