shell: Fix signed-unsigned comparisons

This commit is contained in:
Florian Müllner
2015-09-23 19:11:05 +02:00
parent 52995416fd
commit 825146f1e3
3 changed files with 5 additions and 5 deletions

View File

@ -699,7 +699,7 @@ static int
shell_app_get_last_user_time (ShellApp *app)
{
GSList *iter;
int last_user_time;
guint32 last_user_time;
last_user_time = 0;
@ -709,7 +709,7 @@ shell_app_get_last_user_time (ShellApp *app)
last_user_time = MAX (last_user_time, meta_window_get_user_time (iter->data));
}
return last_user_time;
return (int)last_user_time;
}
/**