chiark / gitweb /
use of int and overflow review
[chiark-tcl.git] / hbytes / ulongs.c
index 5ab364e..f6afa3f 100644 (file)
@@ -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);
 }