summary refs log tree commit diff
path: root/src/nm-dispatcher.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-07-14 19:38:58 +0200
committerMichael Biebl <biebl@debian.org>2015-07-14 19:38:58 +0200
commit50a58f0fabd8a34c1b6108a107e08abe3c1ccd24 (patch)
tree6790165f39daee79e2b6c6617483320613493367 /src/nm-dispatcher.c
parentf408e27bccfacf347605a8d98649975a68f38a17 (diff)
Imported Upstream version 1.0.4 upstream/1.0.4
Diffstat (limited to 'src/nm-dispatcher.c')
-rw-r--r--src/nm-dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-dispatcher.c b/src/nm-dispatcher.c
index 4e200266..13352ded 100644
--- a/src/nm-dispatcher.c
+++ b/src/nm-dispatcher.c
@@ -372,7 +372,7 @@ static const char *action_table[] = {
 static const char *
 action_to_string (DispatcherAction action)
 {
-	g_assert (action >= 0 && action < G_N_ELEMENTS (action_table));
+	g_assert ((gsize) action < G_N_ELEMENTS (action_table));
 	return action_table[action];
 }