You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by to...@apache.org on 2007/12/09 01:31:32 UTC
svn commit: r602592 -
/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m
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;
}