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

[XaraXtreme-dev] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 692
Date       : Mon Mar 20 11:16:53 GMT 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/grndrgn.cpp

Fixed use of banned types


Diff:
Index: Trunk/XaraLX/wxOil/grndrgn.cpp
===================================================================
--- Trunk/XaraLX/wxOil/grndrgn.cpp	(revision 691)
+++ Trunk/XaraLX/wxOil/grndrgn.cpp	(revision 692)
@@ -6345,14 +6345,14 @@
 	INT32 nStep = Width;
 	if ( BitmapData.GetRowStride()<0 )
 		nStep = -nStep;
-	for( unsigned y=0 ; y<Height ; ++y )
+	for( UINT32 y=0 ; y<Height ; ++y )
 	{
 		//
 		// Set all pixels to be opaque. (We don't want to plot with alpha here
 		// so inverting the alpha channel would not be correct, and it's
 		// possible that the transparency channel will not always be zero).
 		//
-		for( unsigned x=0; x<Width; ++x )
+		for( UINT32 x=0; x<Width; ++x )
 #if defined(__WXGTK__)
 			pDLine[x] = pSBuffer[x] | 0xff000000;
 #else


Xara