[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : gerry
Repository : xara
Revision   : 904
Date       : Wed Apr 26 17:43:47 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/ccfile.cpp

Fix for build problem (on x86_64)


Diff:
Index: Trunk/XaraLX/Kernel/ccfile.cpp
===================================================================
--- Trunk/XaraLX/Kernel/ccfile.cpp	(revision 903)
+++ Trunk/XaraLX/Kernel/ccfile.cpp	(revision 904)
@@ -4950,7 +4950,7 @@
 		return(FALSE);
 
 	BYTE* tempBuf = NULL;
-	UINT32 tempSize = 0;
+	size_t tempSize = 0;
     
 	// Get Pointer to the memory file
 	if (!DescribeBlock(MemHandle, &tempBuf, &tempSize))
@@ -4960,7 +4960,7 @@
 	} 
 
 	*ppBuffer = tempBuf;
-	*pSize = tempSize;
+	*pSize = (UINT32)tempSize;
 
 	return(TRUE);
 }


Xara