qca-wifi: Fix compilation warning in peerstats
Fix compilation warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] Change-Id: I59b616b946ad9548379e7350b346c7688fbcf37c
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
9b997e4493
commit
19657036e1
@@ -260,7 +260,11 @@ dp_peer_tx_sojourn_stats_print(uint8_t *peer_mac,
|
|||||||
sojourn_stats->sum_sojourn_msdu[tid],
|
sojourn_stats->sum_sojourn_msdu[tid],
|
||||||
sojourn_stats->num_msdus[tid]);
|
sojourn_stats->num_msdus[tid]);
|
||||||
}
|
}
|
||||||
PRINT("sizeof(avg): %"PRIu32,
|
#ifdef __LP64__
|
||||||
|
PRINT("sizeof(avg) : %"PRIu64,
|
||||||
|
#else
|
||||||
|
PRINT("sizeof(avg) : %"PRIu32,
|
||||||
|
#endif
|
||||||
sizeof(sojourn_stats->avg_sojourn_msdu[tid]));
|
sizeof(sojourn_stats->avg_sojourn_msdu[tid]));
|
||||||
PRINT("\n...........................................");
|
PRINT("\n...........................................");
|
||||||
PRINT("...................................");
|
PRINT("...................................");
|
||||||
|
Reference in New Issue
Block a user