summaryrefslogtreecommitdiff
path: root/cpp/src/IceXML/Parser.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-03-07 14:15:10 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-03-07 14:15:10 +0000
commitbcf0ceb584580049a250a850f8f4cc9ac2441608 (patch)
treeca9e1035ddfcb490a4a8e93acc193c66c7b172fb /cpp/src/IceXML/Parser.cpp
parentAdded instructions to add . to LD_LIBRARY_PATH (diff)
downloadice-bcf0ceb584580049a250a850f8f4cc9ac2441608.tar.bz2
ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.tar.xz
ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.zip
Get rid of a bunch of 64bit warnings on Sun
Diffstat (limited to 'cpp/src/IceXML/Parser.cpp')
-rw-r--r--cpp/src/IceXML/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceXML/Parser.cpp b/cpp/src/IceXML/Parser.cpp
index 849ba5e221c..dfc9cd6cefa 100644
--- a/cpp/src/IceXML/Parser.cpp
+++ b/cpp/src/IceXML/Parser.cpp
@@ -394,7 +394,7 @@ IceXML::Parser::parse(istream& in, Handler& handler)
{
isFinal = 1;
}
- if(XML_Parse(parser, buff, in.gcount(), isFinal) != 1)
+ if(XML_Parse(parser, buff, static_cast<int>(in.gcount()), isFinal) != 1)
{
handler.error(XML_ErrorString(XML_GetErrorCode(parser)), XML_GetCurrentLineNumber(parser),
XML_GetCurrentColumnNumber(parser));