Selaa lähdekoodia

Merge pull request #69 from sniperbat/master

just remove a compile warning :)
Lee Thomason 13 vuotta sitten
vanhempi
commit
3572ae0308
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 ) {