Skip to content

Commit

Permalink
Fix MbstowcsCharsetDecoder
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Aug 14, 2023
1 parent 810e267 commit e669ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/cpp/charsetdecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class MbstowcsCharsetDecoder : public CharsetDecoder
if (wCharCount == (size_t) -1) // Illegal byte sequence?
{
LogString msg(LOG4CXX_STR("Illegal byte sequence at "));
msg.append(std::to_wstring(src - in.current()));
msg.append(std::to_wstring(in.position()));
msg.append(LOG4CXX_STR(" of "));
msg.append(std::to_wstring(in.limit()));
LogLog::warn(msg);
Expand Down

0 comments on commit e669ee2

Please sign in to comment.