From fbd412cf053429b4b189090cc462fb3f3570886d Mon Sep 17 00:00:00 2001 From: Tinny Ng <tng@apache.org> Date: Thu, 2 Jan 2003 12:32:18 +0000 Subject: [PATCH] Fix typo git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174570 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp b/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp index 844740b1f..a6df24f4d 100644 --- a/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp +++ b/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp @@ -382,7 +382,7 @@ bool IconvLCPTranscoder::transcode( const XMLCh* const toTranscode wideCharBuf[wLent] = 0x00; // Ok, go ahead and try the transcoding. If it fails, then ... - size_t mblen ::wcstombs(toFill, wideCharBuf, maxBytes); + size_t mblen = ::wcstombs(toFill, wideCharBuf, maxBytes); if (mblen == -1) { delete [] allocatedArray; -- GitLab