diff options
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)
|