Author: rfm
Date: Wed Nov  4 08:44:05 2015
New Revision: 39139

URL: http://svn.gna.org/viewcvs/gnustep?rev=39139&view=rev
Log:
tweak

Modified:
    libs/sqlclient/trunk/SQLClientPool.m

Modified: libs/sqlclient/trunk/SQLClientPool.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/sqlclient/trunk/SQLClientPool.m?rev=39139&r1=39138&r2=39139&view=diff
==============================================================================
--- libs/sqlclient/trunk/SQLClientPool.m        (original)
+++ libs/sqlclient/trunk/SQLClientPool.m        Wed Nov  4 08:44:05 2015
@@ -910,9 +910,9 @@
   if (_debugging > 3)
     {
       static Class      cls = Nil;
-      unsigned long     rc;
-      unsigned long     ac;
-      unsigned long     uc;
+      NSUInteger        rc;
+      NSUInteger        ac;
+      NSUInteger        uc;
       int               index;
 
       if (Nil == cls)
@@ -933,9 +933,19 @@
             }
         }
       [self _unlock];
-      return [NSString stringWithFormat:
-        @" provided %ld times (retained:%lu - autoreleased:%lu)",
-        uc, rc, ac];
+      if (NSNotFound == uc)
+        {
+          return [NSString stringWithFormat:
+            @" provided exclusively (retained:%llu - autoreleased:%llu)",
+            (unsigned long long)rc, (unsigned long long)ac];
+        }
+      else
+        {
+          return [NSString stringWithFormat:
+            @" provided %lld times (retained:%llu - autoreleased:%llu)",
+            (unsigned long long)uc,
+            (unsigned long long)rc, (unsigned long long)ac];
+        }
     }
 #endif
   return @"";


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to