Skip to content
Snippets Groups Projects
Commit 57aa9c21 authored by Frédéric Dalleau's avatar Frédéric Dalleau
Browse files

Silence unsigned/signed comparison


valid since row was tested to be positive earlier
lightwood-roller/liblightwood-roller.c:1455:27: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (row == 0 || row == thornbury_model_get_n_rows (priv->model))

Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.com>
Reviewed-by: default avatarAndrew Shadura <andrew.shadura@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D6347
parent 507b3e42
No related branches found
No related tags found
No related merge requests found
......@@ -1452,7 +1452,7 @@ release_event (ClutterActor *actor,
/* when row returned is 0 or the max value in the model,
* then it is always first row in the roller */
if (row == 0 || row == thornbury_model_get_n_rows (priv->model))
if (row == 0 || row == (int)thornbury_model_get_n_rows (priv->model))
row = 0;
if (priv->glow == TRUE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment