X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=blobdiff_plain;f=hbytes%2Fulongs.c;h=f6afa3f6c5a1b5279749e5b38125c250980af655;hp=5ab364ef33d248f788f8fe737323ded0ab9fe310;hb=ceed4cf646a34245b3bc88089a2187ebf7a41f0f;hpb=73cb29760348de6e329efdab662b8a320c92b136 diff --git a/hbytes/ulongs.c b/hbytes/ulongs.c index 5ab364e..f6afa3f 100644 --- a/hbytes/ulongs.c +++ b/hbytes/ulongs.c @@ -281,10 +281,7 @@ static void ulong_t_ustr(Tcl_Obj *o) { char buf[9]; val= *(const uint32_t*)&o->internalRep.longValue; - - assert(val <= 0xffffffffUL); snprintf(buf,sizeof(buf), "%08lx", (unsigned long)val); - cht_obj_updatestr_vstringls(o, buf, sizeof(buf)-1, (char*)0); }