comparison src/xterm.c @ 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 2a646c40a4cf
children 21fae09a3ad2
comparison
equal deleted inserted replaced
3464:0d4f6d14bca1 3465:d23de4338f96
3833 { 3833 {
3834 /* Make sure any errors from previous requests have been dealt with. */ 3834 /* Make sure any errors from previous requests have been dealt with. */
3835 XSync (x_current_display, False); 3835 XSync (x_current_display, False);
3836 3836
3837 /* Set up the error buffer. */ 3837 /* Set up the error buffer. */
3838 x_caught_error_message = 3838 x_caught_error_message
3839 (char (*)[]) xmalloc (sizeof (*x_caught_error_message)); 3839 = (char (*)[200]) xmalloc (sizeof (*x_caught_error_message));
3840 (*x_caught_error_message)[0] = '\0'; 3840 (*x_caught_error_message)[0] = '\0';
3841 3841
3842 /* Install our little error handler. */ 3842 /* Install our little error handler. */
3843 XHandleError (x_error_catcher); 3843 XHandleError (x_error_catcher);
3844 } 3844 }