/* -*-C-*-
-$Id: os2env.c,v 1.6 1995/04/28 07:04:58 cph Exp $
+$Id: os2env.c,v 1.7 1995/04/28 07:16:35 cph Exp $
Copyright (c) 1994-95 Massachusetts Institute of Technology
name += 2;
length -= 2;
}
- STD_API_CALL (dos_set_current_dir, ((length == 0) ? "\\" : name));
+ STD_API_CALL (dos_set_current_dir, ((length == 0) ? "\\" : ((char *) name)));
}
/* -*-C-*-
-$Id: os2xcpt.c,v 1.3 1995/04/28 07:05:08 cph Exp $
+$Id: os2xcpt.c,v 1.4 1995/04/28 07:20:08 cph Exp $
Copyright (c) 1994-95 Massachusetts Institute of Technology
sprintf (backtrace, " (Backtrace:");
sprintf ((backtrace + (strlen (backtrace))), " 0x%08x",
(context -> ctx_RegEip));
- while ((ebp > (ptib -> tib_pstack))
- && (ebp < (ptib -> tib_pstacklimit))
+ while ((((char *) ebp) > ((char *) (ptib -> tib_pstack)))
+ && (((char *) ebp) < ((char *) (ptib -> tib_pstacklimit)))
&& (count < 10))
{
sprintf ((backtrace + (strlen (backtrace))), " 0x%08x", (ebp[1]));
- ebp = (ebp[0]);
+ ebp = ((ULONG *) (ebp[0]));
}
sprintf ((backtrace + (strlen (backtrace))), ")");
}