mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +01:00
explicit casting, to avoid warnings
This commit is contained in:
parent
975cca8c20
commit
42f85936fa
1 changed files with 55 additions and 55 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue