aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-04 00:57:45 +0000
committerRichard M. Stallman1993-06-04 00:57:45 +0000
commit60f9aad3afe6fb7cc11241a6b1a592633761414b (patch)
treec5f3bfc5118e0562b2ac192755f54fd50ece2e81 /src
parent691d8b2c17a5a421eb9fa1b7652722ca93f448d8 (diff)
downloademacs-60f9aad3afe6fb7cc11241a6b1a592633761414b.tar.gz
emacs-60f9aad3afe6fb7cc11241a6b1a592633761414b.zip
(x_catch_errors): Fill in missing array size in cast.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index ff203116e49..4c1c79bf444 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -3835,8 +3835,8 @@ x_catch_errors ()
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. */