projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
367228a
)
CharsetConverter: fix error report
author
Karlson2k
<k2k@narod.ru>
Wed, 18 Sep 2013 20:41:05 +0000
(
00:41
+0400)
committer
Karlson2k
<k2k@narod.ru>
Thu, 19 Sep 2013 15:04:21 +0000
(19:04 +0400)
type was wrong for win32
xbmc/utils/CharsetConverter.cpp
patch
|
blob
|
history
diff --git
a/xbmc/utils/CharsetConverter.cpp
b/xbmc/utils/CharsetConverter.cpp
index
bf42c41
..
43e891d
100644
(file)
--- a/
xbmc/utils/CharsetConverter.cpp
+++ b/
xbmc/utils/CharsetConverter.cpp
@@
-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(LOG
ERROR, "%s realloc failed with buffer=%p size=%zu
errno=%d(%s)",
- __FUNCTION__,
outBuf, outBufSize,
errno, strerror(errno));
+ CLog::Log(LOG
SEVERE, "%s realloc failed with
errno=%d(%s)",
+ __FUNCTION__, errno, strerror(errno));
break;
}
outBuf = newBuf;