diff LOD.cpp @ 2389:6a7309a847ea

removing some (const char *) casts
author Grumpy7
date Wed, 02 Jul 2014 15:13:39 +0200
parents e07e297f292d
children f4af3b203f65
line wrap: on
line diff
--- a/LOD.cpp	Mon Jun 30 10:22:31 2014 +0100
+++ b/LOD.cpp	Wed Jul 02 15:13:39 2014 +0200
@@ -1862,7 +1862,7 @@
           v9 = v4;
           do
           {
-            result = _stricmp((const char *)pContainerName, (const char *)&v10->pSubIndices[v9]);
+            result = _stricmp(pContainerName, v10->pSubIndices[v9].pFilename);
             if ( !result )
               goto LABEL_21;
             ++v7;
@@ -1886,7 +1886,7 @@
   v8 = v4;
   while ( 1 )
   {
-    result = _stricmp((const char *)pContainerName, (const char *)&v10->pSubIndices[v8]);
+    result = _stricmp(pContainerName, v10->pSubIndices[v8].pFilename);
     if ( !result )
       break;
     ++v7;
@@ -1919,7 +1919,7 @@
   }
   else
   {
-    while ( _stricmp((const char *)pContainer, (const char *)&this_dup->pSubIndices[i]) )
+    while ( _stricmp(pContainer, this_dup->pSubIndices[i].pFilename) )
     {
       ++i_dup;
       ++i;