reactos/tools/cabman
diff -u -r1.6 -r1.7
--- cabinet.cxx 19 Nov 2003 09:37:45 -0000 1.6
+++ cabinet.cxx 10 May 2004 07:44:43 -0000 1.7
@@ -1471,7 +1471,7 @@
return CAB_STATUS_INVALID_CAB;
}
- (unsigned char*)CurrentIBuffer += BytesRead;
+ *(unsigned char**)&CurrentIBuffer += BytesRead;
CurrentIBufferSize += (unsigned short)BytesRead;
@@ -3031,7 +3031,7 @@
CurrentFolderNode->TotalFolderSize += (BytesWritten + sizeof(CFDATA));
CurrentFolderNode->Folder.DataBlockCount++;
- (unsigned char*)CurrentOBuffer += DataNode->Data.CompSize;
+ *(unsigned char**)&CurrentOBuffer += DataNode->Data.CompSize;
CurrentOBufferSize -= DataNode->Data.CompSize;
LastBlockStart += DataNode->Data.UncompSize;