From a5716b787a889f5d928175d50e45c640b2a0120d Mon Sep 17 00:00:00 2001 From: sniperbat Date: Thu, 11 Oct 2012 15:22:28 +0800 Subject: [PATCH] nothing but just remove compile warning --- tinyxml2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 0bee8bf..143d30a 100644 --- a/tinyxml2.cpp +++ b/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 ) {