From 44707a26e19c5bb1b5558b733707da12112f3d9e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 1 Nov 2009 12:31:11 +0100 Subject: [PATCH] Bugfix: Use correct data type as return value in buy() --- src/kasse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kasse.c b/src/kasse.c index bfec302..9ceb707 100644 --- a/src/kasse.c +++ b/src/kasse.c @@ -158,7 +158,7 @@ RETRY: } /* dialog which is called for each bought item */ -BYTE buy(char *name, unsigned int price) { +static signed int buy(char *name, unsigned int price) { int negative = 1; char entered[5] = {'1', 0, 0, 0, 0}; BYTE i = 0, matches = 0; -- 2.39.5