From b3b4476b097abd3ae546d92493aebf8c9c348328 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 25 Jun 2012 00:45:49 -0700 Subject: [PATCH] * xfns.c (x_window): Remove redundant cast. --- src/ChangeLog | 4 ++++ src/xfns.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index b8051d13680..02dc8d4203a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-06-25 Paul Eggert + + * xfns.c (x_window): Remove redundant cast. + 2012-06-25 Dmitry Antipov * xmenu.c (xmenu_show, xdialog_show): Explicit cast from diff --git a/src/xfns.c b/src/xfns.c index d49f0ea1458..b5d0102486c 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2503,7 +2503,7 @@ x_window (struct frame *f, long window_prompting, int minibuffer_only) it is safe to free it while the frame exists. It isn't worth the trouble of arranging to free it when the frame is deleted. */ - tem = (char *) xstrdup (shell_position); + tem = xstrdup (shell_position); XtSetArg (gal[gac], XtNgeometry, tem); gac++; XtSetValues (shell_widget, gal, gac); } -- 2.39.5