From 91eb748c7063d69279f0285ebf21f108dafd4ea7 Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Mon, 3 Feb 1992 23:44:05 +0000 Subject: [PATCH] Cast return value of UX_PC_VDISABLE. --- v7/src/microcode/ux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v7/src/microcode/ux.c b/v7/src/microcode/ux.c index 225b123f0..eb9d0cb5e 100644 --- a/v7/src/microcode/ux.c +++ b/v7/src/microcode/ux.c @@ -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; -- 2.25.1