From 044ff837f77c43e4d7596064458ee7957c8f0b02 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 26 Jul 1989 04:14:21 +0000 Subject: [PATCH] Change (void *) pointer to (char *) since the former isn't supported on all compilers yet. --- v7/src/microcode/x11.h | 4 ++-- v7/src/microcode/x11base.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/v7/src/microcode/x11.h b/v7/src/microcode/x11.h index 2a12f91ba..e6ecb2fd6 100644 --- a/v7/src/microcode/x11.h +++ b/v7/src/microcode/x11.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/x11.h,v 1.2 1989/06/27 10:09:14 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/x11.h,v 1.3 1989/07/26 04:14:21 cph Rel $ Copyright (c) 1989 Massachusetts Institute of Technology @@ -98,7 +98,7 @@ struct xwindow int event_flags; /* Additional window-specific data. */ - void * extra; + char * extra; /* Deallocation procedure to do window-specific deallocation. */ void (* deallocator) (); diff --git a/v7/src/microcode/x11base.c b/v7/src/microcode/x11base.c index 95ce306fb..8df4f7cc2 100644 --- a/v7/src/microcode/x11base.c +++ b/v7/src/microcode/x11base.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/x11base.c,v 1.5 1989/07/14 02:53:54 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/x11base.c,v 1.6 1989/07/26 04:14:06 cph Rel $ Copyright (c) 1989 Massachusetts Institute of Technology @@ -362,7 +362,7 @@ x_make_window (display, window, x_size, y_size, attributes, extra, deallocator) (XW_VISIBLE_P (xw)) = 0; if (extra > 0) - (xw -> extra) = ((void *) (x_malloc (extra))); + (xw -> extra) = ((char *) (x_malloc (extra))); (xw -> deallocator) = deallocator; return (xw); } -- 2.25.1