From 6d1f1163381707a7f4172e2a19e5646b38fb12c9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 6 Nov 2011 21:55:40 +0100 Subject: misc: u_intX -> uintX in the host directory Use C99 stdint.h for the inttypes. --- src/host/osmocon/osmoload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/host/osmocon') diff --git a/src/host/osmocon/osmoload.c b/src/host/osmocon/osmoload.c index 8a0b21c0..2d558394 100644 --- a/src/host/osmocon/osmoload.c +++ b/src/host/osmocon/osmoload.c @@ -186,7 +186,7 @@ static void osmoload_osmo_hexdump(const uint8_t *data, unsigned int len) static void loader_send_request(struct msgb *msg) { int rc; - u_int16_t len = htons(msg->len); + uint16_t len = htons(msg->len); if(osmoload.print_requests) { printf("Sending %d bytes:\n", msg->len); @@ -453,7 +453,7 @@ loader_handle_reply(struct msgb *msg) { static int loader_read_cb(struct osmo_fd *fd, unsigned int flags) { struct msgb *msg; - u_int16_t len; + uint16_t len; int rc; msg = msgb_alloc(MSGB_MAX, "loader"); -- cgit v1.2.3