diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-11 22:04:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-11 22:04:58 +0000 |
commit | 6dfb8adb67adb1c01105804e329fcd4a2b152c06 (patch) | |
tree | ab8371809437508a19ce524eef625c0e3fe89f75 /plugins/SimpleStatusMsg | |
parent | e27c16fd6a4a1f5b1191c0fd68c53ae459df386d (diff) |
all database functions moved to m_database.h
git-svn-id: http://svn.miranda-ng.org/main/trunk@12385 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SimpleStatusMsg')
-rw-r--r-- | plugins/SimpleStatusMsg/src/commonheaders.h | 1 | ||||
-rw-r--r-- | plugins/SimpleStatusMsg/src/options.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/SimpleStatusMsg/src/commonheaders.h b/plugins/SimpleStatusMsg/src/commonheaders.h index b709b87837..26b6c9355e 100644 --- a/plugins/SimpleStatusMsg/src/commonheaders.h +++ b/plugins/SimpleStatusMsg/src/commonheaders.h @@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <time.h>
#include <newpluginapi.h>
+#include <m_database.h>
#include <m_clistint.h>
#include <m_skin.h>
#include <m_options.h>
diff --git a/plugins/SimpleStatusMsg/src/options.cpp b/plugins/SimpleStatusMsg/src/options.cpp index a43ff3519a..73ce676ee0 100644 --- a/plugins/SimpleStatusMsg/src/options.cpp +++ b/plugins/SimpleStatusMsg/src/options.cpp @@ -942,7 +942,7 @@ INT_PTR CALLBACK DlgOptionsProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l if (data->proto_msg[j].flags & PROTO_THIS_MSG)
{
- int len = mir_tstrlen(data->proto_msg[j].msg);
+ size_t len = mir_tstrlen(data->proto_msg[j].msg);
if (len > 0)
{
if (data->proto_msg[k+1].msg == NULL)
|