summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-05-25 14:25:46 +0200
committerKay Sievers <kay@vrfy.org>2012-05-25 14:25:46 +0200
commitee56538fa70d969c7374803cadfa1311d07d8b49 (patch)
tree2d43502de2fdd3ee08408f6873c034e8fa949a5a /src/udev
parent79849bf9f47f9867c72c7eb76b981bb354d0e30e (diff)
udev: silent gcc warnings
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-builtin-input_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-input_id.c b/src/udev/udev-builtin-input_id.c
index fce10a351a..ce696eead0 100644
--- a/src/udev/udev-builtin-input_id.c
+++ b/src/udev/udev-builtin-input_id.c
@@ -159,7 +159,7 @@ static void test_key (struct udev_device *dev,
found = 0;
for (i = 0; i < BTN_MISC/BITS_PER_LONG; ++i) {
found |= bitmask_key[i];
- log_debug("test_key: checking bit block %lu for any keys; found=%i\n", i*BITS_PER_LONG, found > 0);
+ log_debug("test_key: checking bit block %lu for any keys; found=%i\n", (unsigned long)i*BITS_PER_LONG, found > 0);
}
/* If there are no keys in the lower block, check the higher block */
if (!found) {