diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-06-06 21:19:56 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-06-06 21:19:56 +0200 |
commit | 93ee84ce079c472ef22403c86a3081324d6eef40 (patch) | |
tree | 1455977e82093a1e1a17b37836ff66586207bfe4 /udev/lib/libudev-monitor.c | |
parent | ffd0afe8a996f8716e5fa9b58bbd313d98007a2f (diff) |
fix signed/unsigned warning
Diffstat (limited to 'udev/lib/libudev-monitor.c')
-rw-r--r-- | udev/lib/libudev-monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev-monitor.c b/udev/lib/libudev-monitor.c index 33a0605492..7a0cb47852 100644 --- a/udev/lib/libudev-monitor.c +++ b/udev/lib/libudev-monitor.c @@ -544,7 +544,7 @@ retry: return NULL; if (nlh->properties_off < sizeof(struct udev_monitor_netlink_header)) return NULL; - if (nlh->properties_off+32U > buflen) + if (nlh->properties_off+32 > buflen) return NULL; bufpos = nlh->properties_off; } else { |