summaryrefslogtreecommitdiffstats
path: root/cups
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
commit1f422e5f2b343d35a8c77ce4be16f74b2819b2bf (patch)
treee24bdebe86afcff3ce29cc0f47f05caec7ab7bc0 /cups
parent952e7cc56afa29f77a828aa256985ba38a06fa80 (diff)
Fix some GCC 4.0 warnings
Diffstat (limited to 'cups')
-rw-r--r--cups/hcrp.c3
1 files changed, 2 insertions, 1 deletions
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;