Branch: Tag:

2014-09-03

2014-09-03 18:59:35 by Martin Nilsson <nilsson@opera.com>

Don't cast memmove void* arguments.

3446:    s2->str[len] = 0; // Ensure NUL-termination    s2->len = index;    } -  memmove(p, (char*)p+len, end<<shift); // Copy NUL-termination +  memmove(p, p+len, end<<shift); // Copy NUL-termination    if( s->flags & STRING_CLEAR_ON_EXIT)    guaranteed_memset(p+len+(end<<shift) , 0, len );    s->len -= index;