diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-11-06 21:55:40 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-11-06 21:55:40 +0100 |
commit | 6d1f1163381707a7f4172e2a19e5646b38fb12c9 (patch) | |
tree | 2ef88564f01e83cafbbb9ebfb2c4bbf121b8cdfa /src/host/osmocon/osmoload.c | |
parent | 02d469ad67459c8d28c808a19802613a5666364c (diff) |
misc: u_intX -> uintX in the host directory
Use C99 stdint.h for the inttypes.
Diffstat (limited to 'src/host/osmocon/osmoload.c')
-rw-r--r-- | src/host/osmocon/osmoload.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |