Casting 'buffer' to uint32 makes absolutely no sense to me. As far as I can

tell, we just want to add an offset to a byte pointer.

svn-id: r24254
This commit is contained in:
Torbjörn Andersson 2006-10-09 15:42:55 +00:00
parent 82775ed890
commit 651f9f2ad7

View File

@ -285,7 +285,7 @@ void AGOSEngine::convertAmiga(byte *srcBuf, int32 fileSize) {
clipnumber++;
}
clipsend = (byte *)(clipoffset + (uint32)buffer);
clipsend = buffer + clipoffset;
bufoutend = clipoffset;
while (bufptr <= clipsend) {
if (clipoffset != 0) {