aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-12-29 08:08:47 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-12-29 08:38:12 +0100
commitc823c89c766829c738db19ccebb690b7fb5cfd71 (patch)
tree531aae9df7203eb3212a84ee0e6f12a10e65e4a8 /openbsc/src/ipaccess
parent567b3261d9fb10aba13850a9ee7f18dd9b15bc93 (diff)
[ipaccess] Use the u_intX_t types in the firmware tool
Diffstat (limited to 'openbsc/src/ipaccess')
-rw-r--r--openbsc/src/ipaccess/ipaccess-firmware.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-firmware.c b/openbsc/src/ipaccess/ipaccess-firmware.c
index 5df3a3864..806e6be5c 100644
--- a/openbsc/src/ipaccess/ipaccess-firmware.c
+++ b/openbsc/src/ipaccess/ipaccess-firmware.c
@@ -35,11 +35,11 @@
struct sdp_firmware {
char magic[4];
char more_magic[4];
- unsigned int header_length;
- unsigned int file_length;
+ u_int32_t header_length;
+ u_int32_t file_length;
char sw_part[20];
char text1[122];
- unsigned int short part_length;
+ u_int16_t part_length;
/* stuff i don't know */
} __attribute__((packed));