Mercurial > mm7
comparison LOD.cpp @ 2389:6a7309a847ea
removing some (const char *) casts
author | Grumpy7 |
---|---|
date | Wed, 02 Jul 2014 15:13:39 +0200 |
parents | e07e297f292d |
children | f4af3b203f65 |
comparison
equal
deleted
inserted
replaced
2388:41025c0eb414 | 2389:6a7309a847ea |
---|---|
1860 if ( v4 < maxIndex ) | 1860 if ( v4 < maxIndex ) |
1861 { | 1861 { |
1862 v9 = v4; | 1862 v9 = v4; |
1863 do | 1863 do |
1864 { | 1864 { |
1865 result = _stricmp((const char *)pContainerName, (const char *)&v10->pSubIndices[v9]); | 1865 result = _stricmp(pContainerName, v10->pSubIndices[v9].pFilename); |
1866 if ( !result ) | 1866 if ( !result ) |
1867 goto LABEL_21; | 1867 goto LABEL_21; |
1868 ++v7; | 1868 ++v7; |
1869 ++v9; | 1869 ++v9; |
1870 } | 1870 } |
1884 if ( v4 >= maxIndex ) | 1884 if ( v4 >= maxIndex ) |
1885 goto LABEL_14; | 1885 goto LABEL_14; |
1886 v8 = v4; | 1886 v8 = v4; |
1887 while ( 1 ) | 1887 while ( 1 ) |
1888 { | 1888 { |
1889 result = _stricmp((const char *)pContainerName, (const char *)&v10->pSubIndices[v8]); | 1889 result = _stricmp(pContainerName, v10->pSubIndices[v8].pFilename); |
1890 if ( !result ) | 1890 if ( !result ) |
1891 break; | 1891 break; |
1892 ++v7; | 1892 ++v7; |
1893 ++v8; | 1893 ++v8; |
1894 if ( v7 >= maxIndex ) | 1894 if ( v7 >= maxIndex ) |
1917 LABEL_4: | 1917 LABEL_4: |
1918 result = 0; | 1918 result = 0; |
1919 } | 1919 } |
1920 else | 1920 else |
1921 { | 1921 { |
1922 while ( _stricmp((const char *)pContainer, (const char *)&this_dup->pSubIndices[i]) ) | 1922 while ( _stricmp(pContainer, this_dup->pSubIndices[i].pFilename) ) |
1923 { | 1923 { |
1924 ++i_dup; | 1924 ++i_dup; |
1925 ++i; | 1925 ++i; |
1926 if ( i_dup >= (signed int)this_dup->uNumSubDirs ) | 1926 if ( i_dup >= (signed int)this_dup->uNumSubDirs ) |
1927 goto LABEL_4; | 1927 goto LABEL_4; |