aboutsummaryrefslogtreecommitdiff
path: root/sky/compact.h
diff options
context:
space:
mode:
authorMarcus Comstedt2003-05-04 17:21:31 +0000
committerMarcus Comstedt2003-05-04 17:21:31 +0000
commit83db6265202e077f8a7007ab604e7d5829b8cc11 (patch)
treed8a7fb47e0dd1adf4632308dfd5f96820a4e1143 /sky/compact.h
parent7a10ab0cc2033cd9d350d0e7ceabfcd41c348b76 (diff)
downloadscummvm-rg350-83db6265202e077f8a7007ab604e7d5829b8cc11.tar.gz
scummvm-rg350-83db6265202e077f8a7007ab604e7d5829b8cc11.tar.bz2
scummvm-rg350-83db6265202e077f8a7007ab604e7d5829b8cc11.zip
GCC believes that if we cast a pointer to <type *>, then we are guaranteeing
that the pointer has proper alignment for <type>, and that it can replace the memcpy() with a direct assignment. This totally defies the purpose of the memcpy(), which is there precisely because the memory is unaligned. Avoid problems by not making the cast. svn-id: r7322
Diffstat (limited to 'sky/compact.h')
0 files changed, 0 insertions, 0 deletions