Commit d0f40636 authored by James Zern's avatar James Zern
Browse files

vpx_memset16: drop unnecessary local

+ add a cast

Change-Id: I2965e7867223aa25bf688c988629ac57b4971905
parent 35540898
......@@ -94,10 +94,9 @@ void vpx_free(void *memblk) {
void *vpx_memset16(void *dest, int val, size_t length) {
size_t i;
void *orig = dest;
uint16_t *dest16 = dest;
uint16_t *dest16 = (uint16_t *)dest;
for (i = 0; i < length; i++)
*dest16++ = val;
return orig;
return dest;
Supports Markdown
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