From: Michael Stapelberg Date: Mon, 26 Oct 2009 12:30:17 +0000 (+0100) Subject: Fix compilation warnings with cc65 v2.13.0 X-Git-Tag: rgb2rv6~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86bb728462e35224f53b6f37032290876c85cf8a;p=c128-kasse Fix compilation warnings with cc65 v2.13.0 --- diff --git a/src/c128time.c b/src/c128time.c index ef0ebc2..5192350 100644 --- a/src/c128time.c +++ b/src/c128time.c @@ -27,7 +27,7 @@ char *get_time() { return buffer; } -void set_time(BYTE hrs, min, sec) { +void set_time(BYTE hrs, BYTE min, BYTE sec) { uint32_t added = ((uint32_t)sec + ((uint32_t)min * (uint32_t)60) + ((uint32_t)hrs * (uint32_t)3600)) * (uint32_t)60; uint32_t lowbit = (added & 0xFF); uint32_t middlebit = (added >> 8) & 0xFF; diff --git a/src/kasse.c b/src/kasse.c index eb1cf18..64bb176 100644 --- a/src/kasse.c +++ b/src/kasse.c @@ -344,4 +344,6 @@ int main() { break; } cprintf("BYEBYE\r\n"); + + return 0; }