Fixed compiler warning (i686-apple-darwin9-g++-4.0.1).

v0.27.3
Andreas Huggel 16 years ago
parent a175d9a9f2
commit 0163a4d72f

@ -214,7 +214,7 @@ static void DumpNodeList ( std::string * buffer, const XML_NodeVector & list, in
if ( node->nsPrefixLen != 0 ) {
*buffer += ", prefixLen=";
char numBuf [20];
snprintf ( numBuf, sizeof(numBuf), "%d", node->nsPrefixLen );
snprintf ( numBuf, sizeof(numBuf), "%lu", (unsigned long)node->nsPrefixLen );
*buffer += numBuf;
}
*buffer += "\n";

Loading…
Cancel
Save