diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-05-15 13:12:09 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-05-15 13:12:09 +0200 |
commit | 49df2f416cd43e9e18f3dbd964271c5cca835729 (patch) | |
tree | 815d659e54170a47fd812bc55bbda6b9f0ec7581 /src/err.cpp | |
parent | 49387874efe790713f4a090e03a97212f4889163 (diff) |
Fixes warning when compiling with MSVC on Win64
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/err.cpp')
-rw-r--r-- | src/err.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/err.cpp b/src/err.cpp index 8ac7dd9..31e2974 100644 --- a/src/err.cpp +++ b/src/err.cpp @@ -190,7 +190,7 @@ void zmq::win_error (char *buffer_, size_t buffer_size_) DWORD errcode = GetLastError (); DWORD rc = FormatMessageA (FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, errcode, MAKELANGID(LANG_NEUTRAL, - SUBLANG_DEFAULT), buffer_, buffer_size_, NULL ); + SUBLANG_DEFAULT), buffer_, (DWORD) buffer_size_, NULL ); zmq_assert (rc); } |