Commits

Tuukka Norri committed ba289c7

Replaced unsigned ints in various places with NSUIntegers

  • Participants
  • Parent commits 507b5f8

Comments (0)

Files changed (7)

File Sources/BXAbstractDescription.h

 
 @interface BXAbstractDescription : NSObject <NSCoding>
 {
-    unsigned int    mHash;
+    NSUInteger      mHash;
     NSString*       mName;
 }
 

File Sources/BXDatabaseObjectID.h

 @interface BXDatabaseObjectID : NSObject 
 {
     BOOL                        mRegistered;
-    unsigned int                mHash;
+    NSUInteger                  mHash;
     NSURL*                      mURIRepresentation;
     BXEntityDescription*		mEntity;
 }

File Sources/BXEntityDescription.h

 - (NSURL *) databaseURI;
 - (NSString *) schemaName;
 - (BOOL) isEqual: (BXEntityDescription *) desc;
-- (unsigned int) hash;
+- (NSUInteger) hash;
 - (void) setDatabaseObjectClass: (Class) cls;
 - (Class) databaseObjectClass;
 - (NSDictionary *) attributesByName;

File Sources/BXEntityDescription.m

     return retval;
 }
 
-- (unsigned int) hash
+- (NSUInteger) hash
 {
     return mHash;
 }

File Sources/BXPropertyDescription.m

 	[super encodeWithCoder: coder];
 }
 
-- (unsigned int) hash
+- (NSUInteger) hash
 {
 	return mHash;
 }

File Sources/NSURL+BaseTenAdditions.h

 #import <Foundation/Foundation.h>
 
 @interface NSURL (BaseTenAdditions)
-- (unsigned int) BXHash;
+- (NSUInteger) BXHash;
 - (NSURL *) BXURIForHost: (NSString *) host 
 				database: (NSString *) dbName 
 				username: (NSString *) username 

File Sources/NSURL+BaseTenAdditions.m

 
 
 @implementation NSURL (BaseTenAdditions)
-- (unsigned int) BXHash
+- (NSUInteger) BXHash
 {
-    unsigned int u = 0;
+    NSUInteger u = 0;
 	u = [[self scheme] hash];
 	u ^= [[self host] hash];
 	u ^= [[self port] hash];