]> err.no Git - sope/blobdiff - sope-appserver/NGObjWeb/SoObjects/SoProduct.m
use %p for pointer formats, fixed gcc 4.1 warnings, minor code improvs
[sope] / sope-appserver / NGObjWeb / SoObjects / SoProduct.m
index 97656b497abeca544b2b42e2874ae9167688228d..b59ea22b707e3036cca6155682598a0679032d13 100644 (file)
@@ -364,7 +364,7 @@ static int loadDebugOn = 0;
   unsigned cnt;
 
   ms = [NSMutableString stringWithCapacity:64];
-  [ms appendFormat:@"<0x%08X[%@]:", self, NSStringFromClass([self class])];
+  [ms appendFormat:@"<0x%p[%@]:", self, NSStringFromClass([self class])];
 
   if (self->flags.isLoaded)
     [ms appendFormat:@" loaded"];
@@ -382,7 +382,7 @@ static int loadDebugOn = 0;
     [ms appendFormat:@" #pubrsrc=%d", cnt];
   
   if (self->resourceManager)
-    [ms appendFormat:@" rm=0x%08X", self->resourceManager];
+    [ms appendFormat:@" rm=0x%p", self->resourceManager];
   
   [ms appendString:@">"];
   return ms;