diff options
author | Erik Ekman <yarrick@kryo.se> | 2010-03-01 20:26:18 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-01 22:20:28 +0100 |
commit | a9d6fb651881403df82983b0e92cedffa1fb472b (patch) | |
tree | 6ecccc5fed62b9026794f1ac0f59cb98ff9f35ce /src/host/osmocon/osmocon.c | |
parent | 45f7a9aba24e520324d5a8508faa4f4e7a83cde2 (diff) |
Fix some warnings in osmocon
Diffstat (limited to 'src/host/osmocon/osmocon.c')
-rw-r--r-- | src/host/osmocon/osmocon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c index 6a716064..203e1807 100644 --- a/src/host/osmocon/osmocon.c +++ b/src/host/osmocon/osmocon.c @@ -18,6 +18,8 @@ #include <osmocore/select.h> #include <osmocore/talloc.h> +#include <arpa/inet.h> + //#include "version.h" #define MODEM_BAUDRATE B115200 @@ -479,7 +481,7 @@ static int un_layer2_read(struct bsc_fd *fd, unsigned int flags) { int rc; u_int16_t length = 0xffff; - char buf[4096]; + u_int8_t buf[4096]; struct layer2_connection *con; |