From 36a1c904affdeb95efcb048538567dc95e446511 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 14 Jun 2005 12:59:28 +0000 Subject: [PATCH] hcidump: Use more clear data types for the frame structure --- tools/parser/parser.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tools/parser/parser.h b/tools/parser/parser.h index 2e6714aed..0352c09e8 100644 --- a/tools/parser/parser.h +++ b/tools/parser/parser.h @@ -32,19 +32,19 @@ #include struct frame { - void *data; - int data_len; - void *ptr; - int len; - int in; - int master; - int handle; - int cid; - int num; - int dlci; - int channel; - long flags; - struct timeval ts; + void *data; + uint32_t data_len; + void *ptr; + uint32_t len; + uint8_t in; + uint8_t master; + uint16_t handle; + uint16_t cid; + uint16_t num; + uint8_t dlci; + uint8_t channel; + unsigned long flags; + struct timeval ts; }; /* Parser flags */ -- 2.47.3