From bdf6ac149ec260dab767663419731b302679f458 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 1 Nov 2024 19:40:24 +0100 Subject: test for memory leaks --- frontend/cmd/view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/cmd') diff --git a/frontend/cmd/view.cpp b/frontend/cmd/view.cpp index 291e321..91eaf94 100644 --- a/frontend/cmd/view.cpp +++ b/frontend/cmd/view.cpp @@ -65,7 +65,7 @@ void GameController::cmd_view(string & target) { lprtf("%s\n", enemy->get_description().c_str()); unsigned enemy_health = enemy->get_health(); - lprtf("%s heeft %s levenspunten.\n", enemy->get_name().c_str(), enemy_health); + lprtf("%s heeft %u levenspunten.\n", enemy->get_name().c_str(), enemy_health); if (!enemy->is_dead()) return; -- cgit v1.2.3