summaryrefslogtreecommitdiff
path: root/ivi-layermanagement-examples
diff options
context:
space:
mode:
authorEmre Ucan <eucan@de.adit-jv.com>2015-06-11 14:20:49 +0200
committerNobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>2015-06-16 08:51:25 +0900
commit3fc2e46cea1ce1c85b77d5073a0fb0e0efc6fd9a (patch)
treeebceeda2d13b5cbd941a3db747471ad54bb4d44e /ivi-layermanagement-examples
parentce0c802c8e4e12c2c87e3bf0d6aad2a8b6f26c63 (diff)
downloadwayland-ivi-extension-3fc2e46cea1ce1c85b77d5073a0fb0e0efc6fd9a.tar.gz
LayerManagerControl: fix compiler warning -Wsign-compare
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Diffstat (limited to 'ivi-layermanagement-examples')
-rw-r--r--ivi-layermanagement-examples/LayerManagerControl/src/input_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ivi-layermanagement-examples/LayerManagerControl/src/input_commands.cpp b/ivi-layermanagement-examples/LayerManagerControl/src/input_commands.cpp
index 55f2734..60c680f 100644
--- a/ivi-layermanagement-examples/LayerManagerControl/src/input_commands.cpp
+++ b/ivi-layermanagement-examples/LayerManagerControl/src/input_commands.cpp
@@ -197,7 +197,7 @@ COMMAND3(54,"set surface <surfaceid> input acceptance to [<namearray>]")
array[i] = strdup(token.c_str());
if (array[i] == NULL) {
cerr << "Failed to duplicate string: " << token << endl;
- for (int j = 0; j < i; j++)
+ for (unsigned int j = 0; j < i; j++)
free(array[i]);
free(array);
return;