tags 394039 + patch
thanks

No need to assert whether a uint32_t is <= 0xfffffff, patch below.

thanks,
Brice

--- chiark-tcl-1.0.1.old/hbytes/ulongs.c	2006-03-30 21:11:24.000000000 +0200
+++ chiark-tcl-1.0.1/hbytes/ulongs.c	2007-01-09 03:30:12.000000000 +0100
@@ -282,7 +282,6 @@
 
   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);

Reply via email to