changeset 3465:d23de4338f96

(x_catch_errors): Fill in missing array size in cast.
author Richard M. Stallman <rms@gnu.org>
date Fri, 04 Jun 1993 00:57:45 +0000
parents 0d4f6d14bca1
children c8f52c44d9a4
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Jun 03 22:42:02 1993 +0000
+++ b/src/xterm.c	Fri Jun 04 00:57:45 1993 +0000
@@ -3835,8 +3835,8 @@
   XSync (x_current_display, False);
 
   /* Set up the error buffer.  */
-  x_caught_error_message =
-    (char (*)[]) xmalloc (sizeof (*x_caught_error_message));
+  x_caught_error_message
+    = (char (*)[200]) xmalloc (sizeof (*x_caught_error_message));
   (*x_caught_error_message)[0] = '\0';
 
   /* Install our little error handler.  */