瀏覽代碼

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 ) {