summaryrefslogtreecommitdiff
path: root/arch/um/drivers/slip_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/slip_proto.h')
-rw-r--r--arch/um/drivers/slip_proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/drivers/slip_proto.h b/arch/um/drivers/slip_proto.h
index 7206361ace45..4c4d94a33100 100644
--- a/arch/um/drivers/slip_proto.h
+++ b/arch/um/drivers/slip_proto.h
@@ -12,7 +12,8 @@
#define SLIP_ESC_END 0334 /* ESC ESC_END means END 'data' */
#define SLIP_ESC_ESC 0335 /* ESC ESC_ESC means ESC 'data' */
-static inline int slip_unesc(unsigned char c,char *buf,int *pos, int *esc)
+static inline int slip_unesc(unsigned char c, unsigned char *buf, int *pos,
+ int *esc)
{
int ret;