Commit in reactos/tools/cabman on MAIN
cabinet.cxx+2-21.6 -> 1.7
Royce3: fixed compiling issues with g++

reactos/tools/cabman
cabinet.cxx 1.6 -> 1.7
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;
CVSspam 0.2.8