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]
This commit is contained in:
Holger Hans Peter Freyther 2012-09-11 12:33:51 +02:00
parent 8c3d0695e4
commit 4dd84ff7c2
1 changed files with 3 additions and 2 deletions

View File

@ -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;