From 995a2f44753852555c72099b1967c300979f6d43 Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Mon, 18 Dec 2017 10:03:58 +0100 Subject: [PATCH] Codacy warnings. --- src/player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/player.c b/src/player.c index f3128a5..8a9751c 100644 --- a/src/player.c +++ b/src/player.c @@ -179,9 +179,9 @@ player_print(Player *p) printf("\n"); printf("--------=== <[ Player Stats ]> ===--------\n"); printf("HP: %d\n", p->stats.hp); - printf("Level: %d XP: %d\n", p->stats.lvl, p->xp); + printf("Level: %d XP: %u\n", p->stats.lvl, p->xp); printf("Pos: %dx%d RoomPos: %dx%d\n", pos.x, pos.y, roomPos.x, roomPos.y); - printf("Steps: %d\n", p->total_steps); + printf("Steps: %u\n", p->total_steps); printf("------------------------------------------\n"); }