Преглед изворни кода

Merge pull request #69 from sniperbat/master

just remove a compile warning :)
Lee Thomason пре 13 година
родитељ
комит
3572ae0308
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tinyxml2.cpp

+ 1 - 1
tinyxml2.cpp

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