summaryrefslogtreecommitdiff
path: root/plugins/NotesAndReminders/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-06 19:19:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-06 19:19:57 +0000
commit05cb3ed52210da707e2bf42d4d1eccb0ea55f4af (patch)
treedc6ca569316854e2ee1ed950617ec8ffdff48de0 /plugins/NotesAndReminders/src/options.cpp
parent5d01efc9987afc9ac4f9ae52244e2b423db043b3 (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@2670 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotesAndReminders/src/options.cpp')
-rw-r--r--plugins/NotesAndReminders/src/options.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/NotesAndReminders/src/options.cpp b/plugins/NotesAndReminders/src/options.cpp
index 62bad6bcd3..a9a1884c9b 100644
--- a/plugins/NotesAndReminders/src/options.cpp
+++ b/plugins/NotesAndReminders/src/options.cpp
@@ -303,12 +303,10 @@ void LoadNRFont(int i, LOGFONT *lf, COLORREF *colour)
static void TrimString(TCHAR *s)
{
if (!s || !*s)
- {
return;
- }
TCHAR *start = s;
- UINT n = _tcslen(s) - 1;
+ UINT n = UINT(_tcslen(s) - 1);
TCHAR *end = s + n;