Sfoglia il codice sorgente

nothing but just remove compile warning

sniperbat 13 anni fa
parent
commit
a5716b787a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tinyxml2.cpp

+ 1 - 1
tinyxml2.cpp

@@ -1566,7 +1566,7 @@ int XMLDocument::LoadFile( FILE* fp )
 	InitDocument();
 	InitDocument();
 
 
 	fseek( fp, 0, SEEK_END );
 	fseek( fp, 0, SEEK_END );
-	unsigned size = ftell( fp );
+	size_t size = ftell( fp );
 	fseek( fp, 0, SEEK_SET );
 	fseek( fp, 0, SEEK_SET );
 
 
 	if ( size == 0 ) {
 	if ( size == 0 ) {