From f72d355b18a873b1f379b4ea8fb6feeddd357314 Mon Sep 17 00:00:00 2001 From: Patrick Pelletier Date: Fri, 17 Aug 2018 13:17:38 -0700 Subject: [PATCH] sim65: Use mode_t for OMode. --- src/sim65/paravirt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.5