From 1f422e5f2b343d35a8c77ce4be16f74b2819b2bf Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 5 Jul 2005 21:15:41 +0000 Subject: Fix some GCC 4.0 warnings --- cups/hcrp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cups') diff --git a/cups/hcrp.c b/cups/hcrp.c index 75171524..c8c26f92 100644 --- a/cups/hcrp.c +++ b/cups/hcrp.c @@ -176,8 +176,9 @@ int hcrp_print(bdaddr_t *src, bdaddr_t *dst, unsigned short ctrl_psm, unsigned s { struct sockaddr_l2 addr; struct l2cap_options opts; + socklen_t size; unsigned char buf[2048]; - int i, size, ctrl_sk, data_sk, mtu, count, len, timeout = 0; + int i, ctrl_sk, data_sk, mtu, count, len, timeout = 0; uint8_t status; uint16_t tid = 0; uint32_t tmp, credit = 0; -- cgit