summaryrefslogtreecommitdiff
path: root/backend/ieee1284.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2016-09-21 12:52:43 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2016-09-21 12:52:43 -0400
commitf093225bc49b98f1055b6a9679c4be8ff3ed1bf0 (patch)
tree66761bc90f8cd570db48b3ef61d25450f57399be /backend/ieee1284.c
parent04964cdd4d058577ab736f98be6a22c67a24a83f (diff)
downloadcups-f093225bc49b98f1055b6a9679c4be8ff3ed1bf0.tar.gz
Address some build warnings on Linux (Issue #4881)
Diffstat (limited to 'backend/ieee1284.c')
-rw-r--r--backend/ieee1284.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ieee1284.c b/backend/ieee1284.c
index c77403b0b..0488174c4 100644
--- a/backend/ieee1284.c
+++ b/backend/ieee1284.c
@@ -88,7 +88,7 @@ backendGetDeviceID(
*device_id = '\0';
# ifdef __linux
- if (ioctl(fd, LPIOC_GET_DEVICE_ID(device_id_size), device_id))
+ if (ioctl(fd, LPIOC_GET_DEVICE_ID((unsigned)device_id_size), device_id))
{
/*
* Linux has to implement things differently for every device it seems.