CharsetConverter: fix error report
authorKarlson2k <k2k@narod.ru>
Wed, 18 Sep 2013 20:41:05 +0000 (00:41 +0400)
committerKarlson2k <k2k@narod.ru>
Thu, 19 Sep 2013 15:04:21 +0000 (19:04 +0400)
type was wrong for win32

xbmc/utils/CharsetConverter.cpp

index bf42c41..43e891d 100644 (file)
@@ -220,8 +220,8 @@ static bool convert(iconv_t& type, int multiplier, const std::string& strFromCha
         char* newBuf  = (char*)realloc(outBuf, outBufSize);
         if (!newBuf)
         {
-          CLog::Log(LOGERROR, "%s realloc failed with buffer=%p size=%zu errno=%d(%s)",
-                    __FUNCTION__, outBuf, outBufSize, errno, strerror(errno));
+          CLog::Log(LOGSEVERE, "%s realloc failed with errno=%d(%s)",
+                    __FUNCTION__, errno, strerror(errno));
           break;
         }
         outBuf = newBuf;