summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-08-01 08:05:11 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-08-01 08:05:11 (GMT)
commitf52a66c46958afc32b7e66a2cf5f8861d6b241f4 (patch)
tree3498f6525ccb0ca994ee37442b4e4b4275aa31e2 /unix
parent4a7ba0f98c4a40ad3ce09508a8612ba7d526e27e (diff)
downloadtk-f52a66c46958afc32b7e66a2cf5f8861d6b241f4.zip
tk-f52a66c46958afc32b7e66a2cf5f8861d6b241f4.tar.gz
tk-f52a66c46958afc32b7e66a2cf5f8861d6b241f4.tar.bz2
Oops; forgot to fix a spot for 64-bit
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixWm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index 7f316e9..bfa6c08 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixWm.c,v 1.72 2009/08/01 07:59:52 dkf Exp $
+ * RCS: @(#) $Id: tkUnixWm.c,v 1.73 2009/08/01 08:05:11 dkf Exp $
*/
#include "tkUnixInt.h"
@@ -2381,7 +2381,7 @@ WmIconphotoCmd(
if (iconPropertyData == NULL) {
return TCL_ERROR;
}
- memset(iconPropertyData, 0, sizeof(long)*size);
+ memset(iconPropertyData, 0, sizeof(unsigned int) * size);
for (i = 3 + isDefault; i < objc; i++) {
photo = Tk_FindPhoto(interp, Tcl_GetString(objv[i]));