From: Paul Eggert Date: Mon, 25 Jun 2012 07:45:49 +0000 (-0700) Subject: * xfns.c (x_window): Remove redundant cast. X-Git-Tag: emacs-24.2.90~1199^2~357 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3b4476b097abd3ae546d92493aebf8c9c348328;p=emacs.git * xfns.c (x_window): Remove redundant cast. --- 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); }