From ea632dfda57ca99e46a09f1140ba18a73c020631 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 13 Feb 2015 23:14:44 +0000 Subject: [PATCH] pcw8256: fix warnings with sdcc 3.4.2 --- Kernel/platform-pcw8256/devfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/platform-pcw8256/devfd.c b/Kernel/platform-pcw8256/devfd.c index 873e0cd8..1ac8991b 100644 --- a/Kernel/platform-pcw8256/devfd.c +++ b/Kernel/platform-pcw8256/devfd.c @@ -19,7 +19,7 @@ static uint8_t type[2]; #define TYPE_THREE 1 #define TYPE_THREE_FIVE 2 static uint8_t motorct; -static uint8_t devsel = -1; +static int8_t devsel = -1; int fd_read(uint8_t minor, uint8_t rawflag, uint8_t flag) { -- 2.34.1