File cegui-0.6.2b-void.patch of Package cegui

--- ImageCodecModules/DevILImageCodec/CEGUIDevILImageCodec.cpp
+++ ImageCodecModules/DevILImageCodec/CEGUIDevILImageCodec.cpp
@@ -57,7 +57,7 @@
     ilGenImages(1, &imgName);
     ilBindImage(imgName);
 
-    if (ilLoadL(IL_TYPE_UNKNOWN, (ILvoid*)data.getDataPtr(), data.getSize()) != IL_FALSE)
+    if (ilLoadL(IL_TYPE_UNKNOWN, (void*)data.getDataPtr(), data.getSize()) != IL_FALSE)
     {
         // get details about size of loaded image
         ILinfo imgInfo;
@@ -83,7 +83,7 @@
             cefmt = Texture::PF_RGB;
             break;
         };
-        ilCopyPixels(0, 0, 0, width, height, 1, ilfmt, IL_UNSIGNED_BYTE, (ILvoid*)tmpBuff);
+        ilCopyPixels(0, 0, 0, width, height, 1, ilfmt, IL_UNSIGNED_BYTE, (void*)tmpBuff);
 
         // delete DevIL image
         ilDeleteImages(1, &imgName);
openSUSE Build Service is sponsored by