From d958e3fb847813075cc059bd5a7aa28252982268 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Jan 2017 22:23:57 +0300 Subject: strong typization - better typization --- plugins/NewAwaySysMod/src/stdafx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewAwaySysMod') diff --git a/plugins/NewAwaySysMod/src/stdafx.h b/plugins/NewAwaySysMod/src/stdafx.h index 1c2966b9be..466f31ffd9 100644 --- a/plugins/NewAwaySysMod/src/stdafx.h +++ b/plugins/NewAwaySysMod/src/stdafx.h @@ -321,7 +321,7 @@ static __inline int LogMessage(const char *Format, ...) va_start(va, Format); mir_vsnprintf(szText + (_countof(LOG_PREFIX) - 1), sizeof(szText) - (_countof(LOG_PREFIX) - 1), Format, va); va_end(va); - return CallService(MS_NETLIB_LOG, NULL, (LPARAM)szText); + return Netlib_Log(NULL, szText); } __inline int CallAllowedPS_SETAWAYMSG(const char *szProto, int iMode, const wchar_t *szMsg) -- cgit v1.2.3