summaryrefslogtreecommitdiff
path: root/zen/com_error.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:21:59 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:21:59 +0200
commitd4af25c52a28b93484ffb55e0a8027bc4ce7856f (patch)
tree853d57468d6b370711e7a5dd2c3dc7d5bac81b10 /zen/com_error.h
parent5.8 (diff)
downloadFreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.tar.gz
FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.tar.bz2
FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.zip
5.9
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