From e01bbf9c74d5b934e2f3d545afff096e1486128c Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Wed, 1 Sep 1993 19:36:28 +0000 Subject: [PATCH] Fix minor mispellings. --- v7/src/microcode/ntio.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/v7/src/microcode/ntio.c b/v7/src/microcode/ntio.c index 28588d993..f0d3f2728 100644 --- a/v7/src/microcode/ntio.c +++ b/v7/src/microcode/ntio.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: ntio.c,v 1.8 1993/09/01 18:42:20 gjr Exp $ +$Id: ntio.c,v 1.9 1993/09/01 19:36:28 gjr Exp $ Copyright (c) 1992-1993 Massachusetts Institute of Technology @@ -138,7 +138,7 @@ DEFUN (channel_close_on_abort_1, (cp), PTR cp) void DEFUN (OS_channel_close_on_abort, (channel), Tchannel channel) { - Tchannel * cp = (dstack_alloc (sizeof (Tchannel))); + Tchannel * cp = ((Tchannel *) (dstack_alloc (sizeof (Tchannel)))); (*cp) = (channel); transaction_record_action (tat_abort, channel_close_on_abort_1, cp); return; @@ -267,7 +267,7 @@ DEFUN (raw_write, (fd, buffer, nbytes), size_t _size = (size); \ int _written; \ _written = raw_write ((fd), (buffer), (_size)); \ - if (_size != _written) \ + if (_size != ((size_t) _written)) \ return ((_written < 0) ? -1 : (so_far) + _written); \ } while (0) @@ -594,10 +594,10 @@ DEFUN_VOID (NT_initialize_channels) master_tty_window = Screen_Create (NULL, "MIT Scheme", SW_SHOWNORMAL); - if (win32s_under_win32s_p ()) - OS_have_select = 0; + if (win32_under_win32s_p ()) + OS_have_select_p = 0; else - OS_have_select = 1; + OS_have_select_p = 1; OS_channel_table_size = (NT_SC_OPEN_MAX ()); channel_table = (NT_malloc (OS_channel_table_size * (sizeof (struct channel)))); -- 2.25.1