summaryrefslogtreecommitdiff
path: root/udev_db.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-02-05 02:38:56 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:24:19 -0700
commit1134a81b98e189a8ec99a1ea4aba8e52b358873b (patch)
tree9ea0bce0558d588bf0b6d0ddc3e8464f51744523 /udev_db.c
parent9172c95c77e8f1377b6c8becc84995e6e28a61eb (diff)
[PATCH] fix -Wsign-compare warnings
Diffstat (limited to 'udev_db.c')
-rw-r--r--udev_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_db.c b/udev_db.c
index 36da264716..df7cfbb259 100644
--- a/udev_db.c
+++ b/udev_db.c
@@ -195,7 +195,7 @@ int udev_db_get_device_byname(struct udevice *udev, const char *name)
memset(&db_udev, 0x00, sizeof(struct udevice));
if (parse_db_file(&db_udev, filename) == 0) {
char *pos;
- int len;
+ unsigned int len;
if (strncmp(name, db_udev.name, NAME_SIZE) == 0) {
goto found;