* interp.c (trap, case SYS_utime): Cast second arg of utime to
void * to avoid compiler error.
This commit is contained in:
parent
e34be374b8
commit
437fb926e6
@ -1,3 +1,8 @@
|
||||
Fri Oct 6 12:08:18 1995 Jim Wilson <wilson@chestnut.cygnus.com>
|
||||
|
||||
* interp.c (trap, case SYS_utime): Cast second arg of utime to
|
||||
void * to avoid compiler error.
|
||||
|
||||
Thu Oct 5 14:13:29 1995 steve chamberlain <sac@slash.cygnus.com>
|
||||
|
||||
* interp.c (callback): Initialize to default callback.
|
||||
|
@ -584,7 +584,9 @@ trap (i, regs, memory, maskl, maskw, little_endian)
|
||||
regs[0] = chmod (ptr (regs[5]), regs[6]);
|
||||
break;
|
||||
case SYS_utime:
|
||||
regs[0] = utime (ptr (regs[5]), ptr (regs[6]));
|
||||
/* Cast the second argument to void *, to avoid type mismatch
|
||||
if a prototype is present. */
|
||||
regs[0] = utime (ptr (regs[5]), (void *) ptr (regs[6]));
|
||||
break;
|
||||
default:
|
||||
abort ();
|
||||
|
Loading…
Reference in New Issue
Block a user