diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-16 17:27:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-16 17:27:21 +0000 |
commit | 7fb3e4a0ffcc61fc3f457fe35d46a0e32bdc18f1 (patch) | |
tree | f2428423e271c54507bf55ffbdc4d42e6b1cfe17 /plugins/ClientChangeNotify/src/stdafx.h | |
parent | 365183d00b2eaad4d7c1a38bf346c6635e2c8031 (diff) |
all warnings fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14968 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ClientChangeNotify/src/stdafx.h')
-rw-r--r-- | plugins/ClientChangeNotify/src/stdafx.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/ClientChangeNotify/src/stdafx.h b/plugins/ClientChangeNotify/src/stdafx.h index a733839dc9..381703bcef 100644 --- a/plugins/ClientChangeNotify/src/stdafx.h +++ b/plugins/ClientChangeNotify/src/stdafx.h @@ -50,10 +50,10 @@ #include "m_fingerprint.h"
-#include "CommonLibs\TMyArray.h"
-#include "CommonLibs\Options.h"
-#include "CommonLibs\CString.h"
-#include "CommonLibs\pcre.h"
+#include "TMyArray.h"
+#include "Options.h"
+#include "CString.h"
+#include "pcre.h"
#include "resource.h"
#include "Misc.h"
@@ -116,7 +116,7 @@ static __inline CString LogMessage(const char *Format, ...) char szText[8096];
mir_strcpy(szText, LOG_PREFIX);
va_start(va, Format);
- mir_vsnprintf(szText + (lengthof(LOG_PREFIX) - 1), sizeof(szText) - (lengthof(LOG_PREFIX) - 1), Format, va);
+ mir_vsnprintf(szText + _countof(LOG_PREFIX)-1, _countof(szText) - (_countof(LOG_PREFIX)-1), Format, va);
va_end(va);
CallService(MS_NETLIB_LOG, NULL, (LPARAM)szText);
return CString(szText);
|