diff options
author | Kay Sievers <kay@vrfy.org> | 2012-05-25 14:25:46 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-05-25 14:25:46 +0200 |
commit | ee56538fa70d969c7374803cadfa1311d07d8b49 (patch) | |
tree | 2d43502de2fdd3ee08408f6873c034e8fa949a5a /src/libudev | |
parent | 79849bf9f47f9867c72c7eb76b981bb354d0e30e (diff) |
udev: silent gcc warnings
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev-monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c index 566e9761aa..32319aca7b 100644 --- a/src/libudev/libudev-monitor.c +++ b/src/libudev/libudev-monitor.c @@ -578,7 +578,7 @@ retry: nlh->magic, htonl(UDEV_MONITOR_MAGIC)); return NULL; } - if (nlh->properties_off+32 > buflen) + if (nlh->properties_off+32 > (size_t)buflen) return NULL; bufpos = nlh->properties_off; } else { |