X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fsystemerror.cpp;h=1ccee74ed4a80139c77e1e013567465f4325906e;hp=8d8844a280d06da5ef81894ed64d036959f21415;hb=4418103963cca2b68fd2dbf6d1d16eeebc8b3c40;hpb=83394a2b0535da86930c2d9d07fb9f997d3f0e57 diff --git a/source/core/systemerror.cpp b/source/core/systemerror.cpp index 8d8844a..1ccee74 100644 --- a/source/core/systemerror.cpp +++ b/source/core/systemerror.cpp @@ -32,7 +32,7 @@ string system_error::get_message(int c) if(FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM, 0, c, 0, msg, sizeof(msg), 0)) return msg; else - return lexical_cast(c, Fmt().hex()); + return lexical_cast(c, Fmt().hex()); #else if(c==-1) c = errno;