]> git.saurik.com Git - wxWidgets.git/commitdiff
64-bit patch
authorRobert Roebling <robert@roebling.de>
Tue, 9 Sep 2003 22:22:38 +0000 (22:22 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 9 Sep 2003 22:22:38 +0000 (22:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/utilsx11.cpp

index 38868be697d105fec6d44188d8c6240649e61054..85256f048ed26999efa89d5178ce6c8e245a3262 100644 (file)
@@ -104,8 +104,11 @@ void wxSetIconsX11( WXDisplay* display, WXWindow window,
 
     if( size > 0 )
     {
-        wxUint32* data = new wxUint32[size];
-        wxUint32* ptr = data;
+//       The code below is correct for 64-bit machines also.
+//       wxUint32* data = new wxUint32[size];
+//       wxUint32* ptr = data;
+        unsigned long* data = new unsigned long[size];
+        unsigned long* ptr = data;
 
         for( i = 0; i < max; ++i )
         {