diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-12 19:37:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-12 19:37:35 +0300 |
commit | 2ebd5155bdf88bdb3fbc76fbf7e9fdc9765133d6 (patch) | |
tree | f4a50c8ff88f45e52d20943142de33478559afc7 /plugins/Variables/src/parse_miranda.cpp | |
parent | 413bfdfbc3b4bbcdf5ebe47d83c618c3781c6a82 (diff) |
fixes for format specifiers
Diffstat (limited to 'plugins/Variables/src/parse_miranda.cpp')
-rw-r--r-- | plugins/Variables/src/parse_miranda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index 2bd57f5804..e093fce35c 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -387,7 +387,7 @@ static wchar_t* parseSpecialContact(ARGUMENTSINFO *ai) szUniqueID = (wchar_t*)mir_alloc(40);
if (szUniqueID == NULL)
return nullptr;
- mir_snwprintf(szUniqueID, 20, L"%p", ai->fi->hContact);
+ _itow_s(ai->fi->hContact, szUniqueID, 20, 10);
}
if (szUniqueID == NULL)
|