From: Erik Verbruggen Date: Thu, 18 Oct 2012 08:57:00 +0000 (+0200) Subject: Silence signed/unsigned comparison warning. X-Git-Tag: upstream/5.2.1~669^2~659^2~923 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0d4df2b3fca006267c61c5c95c54db004795c5b;p=platform%2Fupstream%2Fqtdeclarative.git Silence signed/unsigned comparison warning. Change-Id: Id23e48b370a73baabcc6875b51067f60dadec0c4 Reviewed-by: Simon Hausmann --- diff --git a/qmljs_runtime.cpp b/qmljs_runtime.cpp index 6cbc8f6..9e9d364 100644 --- a/qmljs_runtime.cpp +++ b/qmljs_runtime.cpp @@ -449,7 +449,7 @@ Value __qmljs_delete_subscript(Context *ctx, Value base, Value index) else if (index.isDouble()) n = index.doubleValue(); if (n >= 0) { - if (n < a->value.size()) { + if (n < (int) a->value.size()) { a->value.assign(n, Value::undefinedValue()); return Value::fromBoolean(true); }