summaryrefslogtreecommitdiff
path: root/cups/sidechannel.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-08-28 15:37:22 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-08-28 15:37:22 +0000
commit7d5824d6a8f0aeb47c446f61e655c3a0f5c51e93 (patch)
tree62f89468c9607219f8c1fbc49c56fe546fc8bde0 /cups/sidechannel.c
parent3bc376ee94dd13ff43b9af675eb7381e443ea6ea (diff)
downloadcups-7d5824d6a8f0aeb47c446f61e655c3a0f5c51e93.tar.gz
Fix Linux builds without normal prerequisite libraries installed.
Also correct GCC 4.8 compiler warnings. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12124 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/sidechannel.c')
-rw-r--r--cups/sidechannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/sidechannel.c b/cups/sidechannel.c
index 0928d8b34..8dc2ce0ff 100644
--- a/cups/sidechannel.c
+++ b/cups/sidechannel.c
@@ -490,7 +490,7 @@ cupsSideChannelSNMPWalk(
real_data[real_datalen] = '\0';
real_oidlen = strlen(real_data) + 1;
- real_datalen -= real_oidlen;
+ real_datalen -= (int)real_oidlen;
/*
* Call the callback with the OID and data...