Explorar el Código

Merge pull request #109 from pzychotic/master

Fixed compiler warning for x64 build
Lee Thomason hace 13 años
padre
commit
6a0db4f7e6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tinyxml2.cpp

+ 1 - 1
tinyxml2.cpp

@@ -1684,7 +1684,7 @@ XMLError XMLDocument::Parse( const char* p, size_t len )
         return _errorID;
     }
 
-	int delta = p - start;	// skip initial whitespace, BOM, etc.
+    ptrdiff_t delta = p - start;	// skip initial whitespace, BOM, etc.
     ParseDeep( _charBuffer+delta, 0 );
     return _errorID;
 }