summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-28 14:54:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-28 14:54:43 (GMT)
commit6d5bc7e5ad44cc88246abcb6e02761e54866ca29 (patch)
treeab2e9d9d004ec5df6cda59052964042202228e7e
parentdd57d00f5c65deebb5bea67608c586856c2c2b7a (diff)
downloadtk-6d5bc7e5ad44cc88246abcb6e02761e54866ca29.zip
tk-6d5bc7e5ad44cc88246abcb6e02761e54866ca29.tar.gz
tk-6d5bc7e5ad44cc88246abcb6e02761e54866ca29.tar.bz2
Fix C++ build
-rw-r--r--generic/tkImgGIF.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index c91a1c0..a02117a 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -1120,7 +1120,7 @@ DoExtension(
Tcl_DStringFree(&dataDString);
return -1;
}
- Tcl_DStringAppend(&dataDString,&byte,1);
+ Tcl_DStringAppend(&dataDString,(char *)&byte,1);
/* check for end of xmp header */
if (byte == 0 && lastbyte == 0) {
break;