diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-02-22 13:22:36 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-02-22 13:22:36 +0000 |
commit | 8100e0c660e200a9d789dcd054f25a20778379cd (patch) | |
tree | 0fed44d7d3ad0103d8277727bf6b940184bb2b37 /hcid/main.c | |
parent | f3be9c15792728861db02c8b0a3692903a30552b (diff) |
Fix 64-bit size_t problem with HCI events
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hcid/main.c b/hcid/main.c index c3f4131d..2d1d5686 100644 --- a/hcid/main.c +++ b/hcid/main.c @@ -397,10 +397,11 @@ static inline void device_event(GIOChannel *chan, evt_stack_internal *si) gboolean io_stack_event(GIOChannel *chan, GIOCondition cond, gpointer data) { - char buf[HCI_MAX_FRAME_SIZE], *ptr; + unsigned char buf[HCI_MAX_FRAME_SIZE], *ptr; evt_stack_internal *si; hci_event_hdr *eh; - int len, type; + int type; + size_t len; GIOError err; ptr = buf; |