From: Michael Stapelberg Date: Sun, 1 Nov 2009 11:31:11 +0000 (+0100) Subject: Bugfix: Use correct data type as return value in buy() X-Git-Tag: rgb2rv6~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44707a26e19c5bb1b5558b733707da12112f3d9e;p=c128-kasse Bugfix: Use correct data type as return value in buy() --- 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;