From fbef3806db5d5004c984624e24708594dfb991b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Sun, 26 Oct 2025 16:20:41 +0100 Subject: [PATCH] placedwwordCount gefixt --- Start_Windows/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Start_Windows/game.c b/Start_Windows/game.c index f1ae028..191c3a2 100644 --- a/Start_Windows/game.c +++ b/Start_Windows/game.c @@ -29,7 +29,7 @@ int checkforOverlap(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], shor // Creates the word salad by placing words randomly and filling empty spaces int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldLen, const char words[][MAX_WORD_LEN], unsigned int wordCount) { - int placedCount = 0; + unsigned int placedCount = 0; for(short i = 0; i < searchFieldLen; i++) {