Not sure that this merits a JIRA ticket, but this little patch quiets a gcc 
warning:

Index: core/Lucy/Object/Obj.c
===================================================================
--- core/Lucy/Object/Obj.c      (revision 884883)
+++ core/Lucy/Object/Obj.c      (working copy)
@@ -60,7 +60,7 @@
 #if (SIZEOF_PTR == 4)
     return CB_newf("%...@0x%x32", Obj_Get_Class_Name(self), self);
 #elif (SIZEOF_PTR == 8)
-    size_t address = self;
+    size_t address = (size_t)self;
     u32_t  address_hi = address >> 32;
     u32_t  address_lo = address & 0xFFFFFFFF;
     return CB_newf("%...@0x%x32%x32", Obj_Get_Class_Name(self), address_hi,

-- 
Peter Karman  .  http://peknet.com/  .  [email protected]

Reply via email to