summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2010-02-10 12:45:50 +0000
committerPeter Åstrand <astrand@cendio.se>2010-02-10 12:45:50 +0000
commitebf77754dd7c541b5e5305a5117e5618e43ca018 (patch)
tree1d821d50e795946eff08f47cac6009fad7267dc2 /win
parenta7088b6e2d58d6184b64e12a3bc1606c7480cd45 (diff)
downloadtigervnc-ebf77754dd7c541b5e5305a5117e5618e43ca018.tar.gz
tigervnc-ebf77754dd7c541b5e5305a5117e5618e43ca018.zip
Eliminate GCC signed/unsigned warning.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3979 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r--win/vncviewer/OptionsDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncviewer/OptionsDialog.cxx b/win/vncviewer/OptionsDialog.cxx
index 6b4b6448..c2c2fc90 100644
--- a/win/vncviewer/OptionsDialog.cxx
+++ b/win/vncviewer/OptionsDialog.cxx
@@ -244,7 +244,7 @@ public:
SendMessage(menuKey, CB_ADDSTRING, 0, (LPARAM)_T("none"));
if (!dlg->options.menuKey)
SendMessage(menuKey, CB_SETCURSEL, 0, 0);
- for (int i=0; i<12; i++) {
+ for (unsigned int i=0; i<12; i++) {
TCHAR buf[4];
_stprintf(buf, _T("F%d"), i+1);
int index = SendMessage(menuKey, CB_ADDSTRING, 0, (LPARAM)buf);