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/YARelay | |
parent | 413bfdfbc3b4bbcdf5ebe47d83c618c3781c6a82 (diff) |
fixes for format specifiers
Diffstat (limited to 'plugins/YARelay')
-rw-r--r-- | plugins/YARelay/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp index 8d9a401489..4a29fedc9f 100644 --- a/plugins/YARelay/src/main.cpp +++ b/plugins/YARelay/src/main.cpp @@ -150,7 +150,7 @@ static int MessageEventAdded(WPARAM hContact, LPARAM hDBEvent) if (id != NULL)
wcsncpy_s(buf, id, _TRUNCATE);
else
- mir_snwprintf(buf, L"%p", hContact);
+ _itow_s(hContact, buf, 10);
}
szUtfMsg.Append(T2Utf(buf));
break;
|