diff options
author | Jeff Dike <jdike@addtoit.com> | 2005-06-09 00:48:01 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-09 01:21:12 +0200 |
commit | da00d9a5466558ccd9e7b7d04b13d7cb9160c876 (patch) | |
tree | 4edc27caa63126e902da3752f58adb8ee792762c /arch/um/drivers/slip.h | |
parent | [PATCH] uml: make the emulated iomem driver work on 2.6 (diff) | |
download | linux-da00d9a5466558ccd9e7b7d04b13d7cb9160c876.tar.xz linux-da00d9a5466558ccd9e7b7d04b13d7cb9160c876.zip |
[PATCH] uml: compile fixes for gcc 4
This is a bunch of compile fixes provoked by building UML with gcc 4. There
are a bunch of signedness mismatches, a couple of uninitialized references,
and a botched C99 structure initialization which had somehow gone unnoticed.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/drivers/slip.h')
-rw-r--r-- | arch/um/drivers/slip.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/slip.h b/arch/um/drivers/slip.h index 495f2f1b1420..d523618cd5ac 100644 --- a/arch/um/drivers/slip.h +++ b/arch/um/drivers/slip.h @@ -12,8 +12,8 @@ struct slip_data { char *addr; char *gate_addr; int slave; - char ibuf[ENC_BUF_SIZE]; - char obuf[ENC_BUF_SIZE]; + unsigned char ibuf[ENC_BUF_SIZE]; + unsigned char obuf[ENC_BUF_SIZE]; int more; /* more data: do not read fd until ibuf has been drained */ int pos; int esc; |