diff --git a/src/main/c/Stefan/blackjack.c b/src/main/c/Stefan/blackjack.c index 397eea0..eea7c4d 100644 --- a/src/main/c/Stefan/blackjack.c +++ b/src/main/c/Stefan/blackjack.c @@ -65,9 +65,10 @@ int getBetBJ(int balance, bool *exitPtr){ } int userInputBJ(){ - int input; - scanf("%d", &input); - return input; + int pimmel_input; + // Pimmel scanf_s() + scanf("%d", &pimmel_input); + return pimmel_input; } // Liefert eine Zufallszahl zwischen 1 und 10