Author: paullanders
Date: Thu Nov 10 23:07:35 2016
New Revision: 40211

URL: http://svn.gna.org/viewcvs/gnustep?rev=40211&view=rev
Log:
Fixed size of retain count on 64 bit platforms. 

Modified:
    libs/base/branches/gnustep_testplant_branch/Source/NSObject.m

Modified: libs/base/branches/gnustep_testplant_branch/Source/NSObject.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/NSObject.m?rev=40211&r1=40210&r2=40211&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/Source/NSObject.m       
(original)
+++ libs/base/branches/gnustep_testplant_branch/Source/NSObject.m       Thu Nov 
10 23:07:35 2016
@@ -392,7 +392,7 @@
  *     (before the start) in each object.
  */
 typedef struct obj_layout_unpadded {
-  int32_t      retained;
+  uintptr_t    retained;
 } unp;
 #define        UNP sizeof(unp)
 
@@ -412,7 +412,7 @@
 struct obj_layout {
   char padding[__BIGGEST_ALIGNMENT__ - ((UNP % __BIGGEST_ALIGNMENT__)
     ? (UNP % __BIGGEST_ALIGNMENT__) : __BIGGEST_ALIGNMENT__)];
-  int32_t      retained;
+  uintptr_t    retained;
 };
 typedef        struct obj_layout *obj;
 


_______________________________________________
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to