remove void* arithmetic
This commit is contained in:
parent
732c0235ba
commit
30fac6dd12
@ -5,7 +5,7 @@
|
||||
void byte_copy(void* out, unsigned int len, const void* in) {
|
||||
register char* s=out;
|
||||
register const char* t=in;
|
||||
register const char* u=in+len;
|
||||
register const char* u=u+len;
|
||||
if (len>127) {
|
||||
if (sizeof(unsigned long)>4) { /* a good compiler should optimize this check away */
|
||||
for (;(unsigned long)t&7;) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user