projects
/
jmdict-cli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added -Wconverison and fixed the warnings.
[jmdict-cli.git]
/
xmlparser.h
diff --git
a/xmlparser.h
b/xmlparser.h
index 29745eb36ec584d9a22b078605035df3a4bed10c..08b3c3885d90716ae7ed697414ec4ddac6b0e86b 100644
(file)
--- 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());
}
}