Commit 60f9aad3 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_catch_errors): Fill in missing array size in cast.

parent 691d8b2c
......@@ -3835,8 +3835,8 @@ x_catch_errors ()
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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment