From: ian Date: Fri, 27 Sep 2002 21:39:30 +0000 (+0000) Subject: Fix ulong ustr! X-Git-Tag: debian/1.1.1~143 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=commitdiff_plain;h=10856aa76a4c2452ff34764117759621e44980c4 Fix ulong ustr! --- diff --git a/hbytes/ulongs.c b/hbytes/ulongs.c index ce5d8a9..4652fd6 100644 --- a/hbytes/ulongs.c +++ b/hbytes/ulongs.c @@ -257,7 +257,7 @@ static void ulong_t_dup(Tcl_Obj *src, Tcl_Obj *dup) { static void ulong_t_ustr(Tcl_Obj *o) { uint32_t val; - char buf[11]; + char buf[9]; val= *(const uint32_t*)&o->internalRep.longValue;