From 2ebd5155bdf88bdb3fbc76fbf7e9fdc9765133d6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 12 Mar 2019 19:37:35 +0300 Subject: fixes for format specifiers --- plugins/YARelay/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/YARelay/src') 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; -- cgit v1.2.3