misc: Use other size modifiers to fix compiler warnings

control_if.c:521:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat]
osmo_bsc_bssap.c:473:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘unsigned int’ [-Wformat]
mgcp_main.c:162:4: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformatt]
This commit is contained in:
Holger Hans Peter Freyther 2012-03-16 12:18:39 +01:00 committed by Harald Welte
parent 1d3634e0cb
commit ad6451fc98
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ static int get_rate_ctr(struct ctrl_cmd *cmd, void *data)
talloc_free(dup);
cmd->reply = talloc_asprintf(cmd, "%lu", get_rate_ctr_value(ctr, intv));
cmd->reply = talloc_asprintf(cmd, "%"PRIu64, get_rate_ctr_value(ctr, intv));
if (!cmd->reply)
goto oom;