From cae8bc6ced84c12590e3554a06a952283735363a Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 16 Jul 2010 12:09:58 +0300 Subject: Move to 2.14. --- vms/vms_fwrite.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vms/vms_fwrite.c') diff --git a/vms/vms_fwrite.c b/vms/vms_fwrite.c index 94c345a5..6f2637b3 100644 --- a/vms/vms_fwrite.c +++ b/vms/vms_fwrite.c @@ -42,8 +42,8 @@ static int find_c( const char *s, int n, char c ) { #define is_stdout(file_no) ((file_no) == 1) /* fileno(stdout) */ #define is_stderr(file_no) ((file_no) == 2) /* fileno(stderr) */ -#define PREFIX_CR (0x8D << 16) /* leading carriage return */ -#define POSTFIX_CR (0x8D << 24) /* trailing carriage return (=> lf/cr) */ +#define PREFIX_CR 0x008D0000 /* leading carriage return */ +#define POSTFIX_CR 0x8D000000 /* trailing carriage return (=> lf/cr) */ static short channel[_NFILE] = {0}; static FILE *prev_file = 0; @@ -121,7 +121,7 @@ tty_fwrite( const void *buf, size_t size, size_t number, FILE *file ) if (vmsfail(sts)) break; } /* queue an asynchronous write */ - sts = SYS$QIO(evfn, chan, io_func, &iosb, (u_long (*)())0, 0, + sts = SYS$QIO(evfn, chan, io_func, &iosb, (void (*)())0, 0L, pt, pos, 0, cc_fmt, 0, 0); if (vmsfail(sts)) break; /*(should never happen)*/ pt += pos, count -= pos; -- cgit v1.2.3