diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-09-11 12:33:51 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-09-11 12:41:23 +0200 |
commit | 4dd84ff7c21646898cbdf0ff9173d424013ebb08 (patch) | |
tree | 623e49b4f7ba4ba8a9431a42902241ec44beb689 /openbsc/src | |
parent | 8c3d0695e4b72068c2c896f601db93d131dac189 (diff) |
bts_hsl_femtocell.c: Use PRIx64 to printf the uint64_t
bts_hsl_femtocell.c: In function ‘hsl_sign_link_up’:
bts_hsl_femtocell.c:206:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t’ [-Wformat]
bts_hsl_femtocell.c:210:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ [-Wformat]
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/libbsc/bts_hsl_femtocell.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/bts_hsl_femtocell.c b/openbsc/src/libbsc/bts_hsl_femtocell.c index 218724575..1ce3eaaa1 100644 --- a/openbsc/src/libbsc/bts_hsl_femtocell.c +++ b/openbsc/src/libbsc/bts_hsl_femtocell.c @@ -20,6 +20,7 @@ * */ +#include <inttypes.h> #include <arpa/inet.h> @@ -204,10 +205,10 @@ hsl_sign_link_up(void *unit_data, struct e1inp_line *line, bts = find_bts_by_serno(hsl_gsmnet, dev->serno); if (!bts) { LOGP(DLINP, LOGL_ERROR, "Unable to find BTS config for " - "serial number %lx\n", dev->serno); + "serial number %"PRIx64"\n", dev->serno); return NULL; } - DEBUGP(DLINP, "Identified HSL BTS Serial Number %lx\n", dev->serno); + DEBUGP(DLINP, "Identified HSL BTS Serial Number %"PRIx64"\n", dev->serno); /* we shouldn't hardcode it, but HSL femto also hardcodes it... */ bts->oml_tei = 255; |