about summary refs log tree commit diff
path: root/src/nm-dispatcher.c
diff options
context:
space:
mode:
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];
 }