diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:26:03 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:26:03 +0100 |
commit | 5c23b9ed7d55a2cd5f44b8ec3da2c8bdcac5c3a5 (patch) | |
tree | 8c3438ffdacb5188cae93df720219fb96c242505 /vncviewer/CConn.cxx | |
parent | a7bbe9c4a3b2090240173e45bebab86e5cba3b4b (diff) | |
download | tigervnc-5c23b9ed7d55a2cd5f44b8ec3da2c8bdcac5c3a5.tar.gz tigervnc-5c23b9ed7d55a2cd5f44b8ec3da2c8bdcac5c3a5.zip |
Fix bad signed/unsigned comparisons
Either by casting, or switching to a more appropriate type
for the variable.
Diffstat (limited to 'vncviewer/CConn.cxx')
-rw-r--r-- | vncviewer/CConn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx index cf4f31b9..5935c177 100644 --- a/vncviewer/CConn.cxx +++ b/vncviewer/CConn.cxx @@ -134,7 +134,7 @@ CConn::~CConn() { OptionsDialog::removeCallback(handleOptions); - for (int i = 0; i < sizeof(decoders)/sizeof(decoders[0]); i++) + for (size_t i = 0; i < sizeof(decoders)/sizeof(decoders[0]); i++) delete decoders[i]; if (desktop) |