cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From torehal...@apache.org
Subject svn commit: r602592 - /cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m
Date Sun, 09 Dec 2007 00:31:32 GMT
Author: torehalset
Date: Sat Dec  8 16:31:31 2007
New Revision: 602592

URL: http://svn.apache.org/viewvc?rev=602592&view=rev
Log:
ya int issue

Modified:
    cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m

Modified: cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m
URL: http://svn.apache.org/viewvc/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m?rev=602592&r1=602591&r2=602592&view=diff
==============================================================================
--- cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m (original)
+++ cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m Sat Dec  8 16:31:31 2007
@@ -341,7 +341,7 @@
             if(strcmp("i",[*ioValue objCType]) != 0)
             {
                 // try to convert non-integer numbers to int
-                *ioValue = [NSNumber numberWithInt:[*ioValue intValue]];
+                *ioValue = [NSNumber numberWithInteger:[*ioValue integerValue]];
             }
             return YES;
         }



Mime
View raw message