summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/udev-rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c
index df5ed5360e..dc4009f74a 100644
--- a/udev/udev-rules.c
+++ b/udev/udev-rules.c
@@ -457,7 +457,7 @@ static int add_string(struct udev_rules *rules, const char *str)
unsigned short node_off;
unsigned char key;
size_t len;
- int depth;
+ unsigned int depth;
unsigned int off;
len = strlen(str);