summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_nic.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-01-30 11:19:14 +0100
committerSamuel Pitoiset <[email protected]>2017-01-30 13:43:30 +0100
commitdb2b0210b13bffdb0cb0e06fa6f4b9208f66efff (patch)
tree1d182e548c69021b75f4f153d29d5aeaf4842630 /src/gallium/auxiliary/hud/hud_nic.c
parent0b646ad05e46831c7cda263f4e613e538706e0af (diff)
hud: fix compilation warnings in hud_nic_graph_install()
v2: use PRId64 instead of PRIx64 Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_nic.c')
-rw-r--r--src/gallium/auxiliary/hud/hud_nic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/hud/hud_nic.c b/src/gallium/auxiliary/hud/hud_nic.c
index f9935dea8b7..634add162b8 100644
--- a/src/gallium/auxiliary/hud/hud_nic.c
+++ b/src/gallium/auxiliary/hud/hud_nic.c
@@ -263,11 +263,11 @@ hud_nic_graph_install(struct hud_pane *pane, const char *nic_name,
nic->mode = mode;
if (nic->mode == NIC_DIRECTION_RX) {
- snprintf(gr->name, sizeof(gr->name), "%s-rx-%lldMbps", nic->name,
+ snprintf(gr->name, sizeof(gr->name), "%s-rx-%"PRId64"Mbps", nic->name,
nic->speedMbps);
}
else if (nic->mode == NIC_DIRECTION_TX) {
- snprintf(gr->name, sizeof(gr->name), "%s-tx-%lldMbps", nic->name,
+ snprintf(gr->name, sizeof(gr->name), "%s-tx-%"PRId64"Mbps", nic->name,
nic->speedMbps);
}
else if (nic->mode == NIC_RSSI_DBM)