From a4faf24354ee98ef226a9012f2835cd771380882 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 20 Apr 2003 20:55:53 +0000 Subject: Update. * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast first syscall parameter to cnst char*. --- sysdeps/unix/sysv/linux/not-cancel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h index e2cb3b24a1..cf61cff379 100644 --- a/sysdeps/unix/sysv/linux/not-cancel.h +++ b/sysdeps/unix/sysv/linux/not-cancel.h @@ -24,7 +24,7 @@ #ifdef INLINE_SYSCALL # define open_not_cancel(name, flags, mode...) \ ({ int _mode = (0, ##mode); \ - INLINE_SYSCALL (open, 3, name, flags, _mode); }) + INLINE_SYSCALL (open, 3, (const char *) name, flags, _mode); }) #endif /* Uncancelable close. */ -- cgit 1.4.1