summaryrefslogtreecommitdiff
path: root/xmlparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmlparser.h')
-rw-r--r--xmlparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlparser.h b/xmlparser.h
index 29745eb..08b3c38 100644
--- a/xmlparser.h
+++ b/xmlparser.h
@@ -80,7 +80,7 @@ public:
while (in) {
char* buffer = static_cast<char*>(XML_GetBuffer(m_parser, BLOCK_SIZE));
in.read(buffer, BLOCK_SIZE);
- XML_ParseBuffer(m_parser, in.gcount(), in.eof());
+ XML_ParseBuffer(m_parser, static_cast<int>(in.gcount()), in.eof());
}
}