remove more void* arithmetic
This commit is contained in:
parent
30fac6dd12
commit
620f0bbef2
@ -3,7 +3,7 @@
|
||||
/* byte_copyr copies in[len-1] to out[len-1], in[len-2] to out[len-2],
|
||||
* ... and in[0] to out[0] */
|
||||
void byte_copyr(void* out, unsigned int len, const void* in) {
|
||||
register char* s=out+len;
|
||||
register char* s=(char*)out+len;
|
||||
register const char* t=in;
|
||||
register const char* u=t+len;
|
||||
for (;;) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user