Cast return value of UX_PC_VDISABLE.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Mon, 3 Feb 1992 23:44:05 +0000 (23:44 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Mon, 3 Feb 1992 23:44:05 +0000 (23:44 +0000)
v7/src/microcode/ux.c

index 225b123f0ada8fdc5a200695891ab1831f0bfeb9..eb9d0cb5e13409d7d8b66ec33e6102cb206cf255 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/ux.c,v 1.9 1992/01/20 16:38:07 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/ux.c,v 1.10 1992/02/03 23:44:05 jinx Exp $
 
 Copyright (c) 1990-1992 Massachusetts Institute of Technology
 
@@ -394,13 +394,13 @@ DEFUN (UX_PC_VDISABLE, (fildes), int fildes)
   extern long EXFUN (fpathconf, (int, int));
   long result = (fpathconf (fildes, _PC_VDISABLE));
   return
-    ((result < 0) ?
+    ((cc_t) ((result < 0) ?
 #ifdef _POSIX_VDISABLE
      _POSIX_VDISABLE
 #else
      '\377'
 #endif
-     : result);
+     : result));
 }
 
 static clock_t memoized_clk_tck = 0;