summaryrefslogtreecommitdiffstats
path: root/win/tclWinDde.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2011-01-14 16:03:13 (GMT)
committernijtmans <nijtmans>2011-01-14 16:03:13 (GMT)
commitb297ff0dce26cde3cc43c0f929a44976936b601e (patch)
tree030e3a61e8f002086132d677818d7a1f371fa98a /win/tclWinDde.c
parentaaf249e2a83d00881890e2bba9bc1ede29309179 (diff)
downloadtcl-b297ff0dce26cde3cc43c0f929a44976936b601e.zip
tcl-b297ff0dce26cde3cc43c0f929a44976936b601e.tar.gz
tcl-b297ff0dce26cde3cc43c0f929a44976936b601e.tar.bz2
Fix gcc-4.5.2 error: lvalue required as ...
(backported from 8.5/8.6)
Diffstat (limited to 'win/tclWinDde.c')
-rw-r--r--win/tclWinDde.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c
index 00e41a9..480c91f 100644
--- a/win/tclWinDde.c
+++ b/win/tclWinDde.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinDde.c,v 1.13.2.7 2006/04/05 20:50:46 dgp Exp $
+ * RCS: @(#) $Id: tclWinDde.c,v 1.13.2.8 2011/01/14 16:03:14 nijtmans Exp $
*/
#include "tclPort.h"
@@ -987,7 +987,7 @@ Tcl_DdeObjCmd(
ClientData clientData, /* Used only for deletion */
Tcl_Interp *interp, /* The interp we are sending from */
int objc, /* Number of arguments */
- Tcl_Obj *CONST objv[]) /* The arguments */
+ Tcl_Obj *CONST *objv) /* The arguments */
{
enum {
DDE_SERVERNAME,
@@ -1308,7 +1308,7 @@ Tcl_DdeObjCmd(
}
objc -= (async + 3);
- ((Tcl_Obj **) objv) += (async + 3);
+ objv += (async + 3);
/*
* See if the target interpreter is local. If so, execute