summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/slip.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/slip.h')
-rw-r--r--arch/um/drivers/slip.h4
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;
OpenPOWER on IntegriCloud