summaryrefslogtreecommitdiff
path: root/zen/com_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/com_error.h')
-rw-r--r--zen/com_error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/com_error.h b/zen/com_error.h
index eaa7744f..cd643b49 100644
--- a/zen/com_error.h
+++ b/zen/com_error.h
@@ -202,7 +202,7 @@ inline
std::wstring numberToHexString(long number)
{
wchar_t result[100];
- ::swprintf(result, 100, L"0x%08x", number);
+ ::swprintf(result, 100, L"0x%08x", static_cast<int>(number));
return std::wstring(result);
}
bgstack15