ref: 05b4e1814272636ddd10ebfa9a28bf2f2a85cd45
parent: d20f086be5ed4b8c6d452ed4f17104f56679d972
parent: d0f406366c7581409a3fbb05510d645380ba9ebd
author: James Zern <[email protected]>
date: Wed Oct 7 14:26:15 EDT 2015
Merge changes I2965e786,I144bedde * changes: vpx_memset16: drop unnecessary local vpx_memset16: quiet signed/unsigned warning
--- a/vpx_mem/vpx_mem.c
+++ b/vpx_mem/vpx_mem.c
@@ -93,11 +93,10 @@
#if CONFIG_VP9_HIGHBITDEPTH
void *vpx_memset16(void *dest, int val, size_t length) {
- int i;
- void *orig = dest;
- uint16_t *dest16 = dest;
+ size_t i;
+ uint16_t *dest16 = (uint16_t *)dest;
for (i = 0; i < length; i++)
*dest16++ = val;
- return orig;
+ return dest;
}
#endif // CONFIG_VP9_HIGHBITDEPTH