aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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. */