Change (void *) pointer to (char *) since the former isn't supported
authorChris Hanson <org/chris-hanson/cph>
Wed, 26 Jul 1989 04:14:21 +0000 (04:14 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 26 Jul 1989 04:14:21 +0000 (04:14 +0000)
on all compilers yet.

v7/src/microcode/x11.h
v7/src/microcode/x11base.c

index 2a12f91bace6461e0428cf0b3392b946d143e7da..e6ecb2fd6d87c2db56d85e5f05ab8b9cfbe56fc4 100644 (file)
@@ -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) ();
index 95ce306fb1de5510abc4e2a2400ca651a8414893..8df4f7cc260287ebdb49776cf5adc3ccd918b61d 100644 (file)
@@ -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);
 }