From: Patrick Pelletier Date: Fri, 17 Aug 2018 20:17:38 +0000 (-0700) Subject: sim65: Use mode_t for OMode. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f72d355b18a873b1f379b4ea8fb6feeddd357314;p=cc65 sim65: Use mode_t for OMode. --- diff --git a/src/sim65/paravirt.c b/src/sim65/paravirt.c index dd65520a5..63ee57829 100644 --- a/src/sim65/paravirt.c +++ b/src/sim65/paravirt.c @@ -185,7 +185,8 @@ static void PVOpen (CPURegs* Regs) { char Path[1024]; int OFlag = O_INITIAL; - unsigned RetVal, I = 0, OMode = 0; + unsigned RetVal, I = 0; + mode_t OMode = 0; unsigned Mode = PopParam (Regs->YR - 4); unsigned Flags = PopParam (2);