explicit casting, to avoid warnings

This commit is contained in:
Alex Ott 2009-10-06 15:12:43 +02:00
parent 975cca8c20
commit 42f85936fa

View file

@ -457,7 +457,7 @@ void libxml2_wrapper<string_type, T0, T1>::parse(inputSourceT& source)
{
char buffer[4096];
is.resolve()->read(buffer, sizeof(buffer));
xmlParseChunk(context_, buffer, is.resolve()->gcount(), is.resolve()->eof());
xmlParseChunk(context_, buffer, (int)is.resolve()->gcount(), is.resolve()->eof());
} // while(!in.eof())
xmlCtxtResetPush(context_, 0, 0, 0, 0);