summaryrefslogtreecommitdiffstats
path: root/src/translatordecoder.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-09-30 13:51:29 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-09-30 13:51:29 (GMT)
commitceb4115c7b941039411e1793e01239610ff112a2 (patch)
treed18c06222e0f84d6077b586e5633053a8bc09da8 /src/translatordecoder.h
parentf6d511e52eb55c5d5b980c4d226f2ea80b396095 (diff)
downloadDoxygen-ceb4115c7b941039411e1793e01239610ff112a2.zip
Doxygen-ceb4115c7b941039411e1793e01239610ff112a2.tar.gz
Doxygen-ceb4115c7b941039411e1793e01239610ff112a2.tar.bz2
Release-1.8.2-20120930
Diffstat (limited to 'src/translatordecoder.h')
-rw-r--r--src/translatordecoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/translatordecoder.h b/src/translatordecoder.h
index bf22df1..7261ee9 100644
--- a/src/translatordecoder.h
+++ b/src/translatordecoder.h
@@ -70,7 +70,7 @@ class TranslatorDecoder : public Translator
char *oPtr = output.data();
if (!portable_iconv(cd,&iPtr,&iLeft,&oPtr,&oLeft))
{
- oSize -= oLeft;
+ oSize -= (int)oLeft;
output.resize(oSize+1);
output.at(oSize)='\0';
return output;