This repository was archived by the owner on Sep 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ - (BOOL)isEqual:(GDataObject *)other {
204204// and NSObject's default hash method just returns the instance pointer.
205205// We'll define hash here for all of our GDataObjects.
206206- (NSUInteger )hash {
207- return (NSUInteger ) [GDataObject class ];
207+ return (NSUInteger ) ( void *) [GDataObject class ];
208208}
209209
210210- (id )copyWithZone : (NSZone *)zone {
@@ -2097,7 +2097,7 @@ - (BOOL)isEqual:(GDataExtensionDeclaration *)other {
20972097}
20982098
20992099- (NSUInteger )hash {
2100- return (NSUInteger ) [GDataExtensionDeclaration class ];
2100+ return (NSUInteger ) ( void *) [GDataExtensionDeclaration class ];
21012101}
21022102
21032103@end
@@ -2155,7 +2155,7 @@ - (BOOL)isEqual:(GDataAttribute *)other {
21552155}
21562156
21572157- (NSUInteger )hash {
2158- return (NSUInteger ) [GDataAttribute class ];
2158+ return (NSUInteger ) ( void *) [GDataAttribute class ];
21592159}
21602160
21612161- (void )setStringValue : (NSString *)str {
Original file line number Diff line number Diff line change @@ -735,11 +735,10 @@ - (BOOL)isEqual:(GDataXMLNode *)other {
735735}
736736
737737- (NSUInteger )hash {
738- return (NSUInteger ) [GDataXMLNode class ];
738+ return (NSUInteger ) ( void *) [GDataXMLNode class ];
739739}
740740
741- - (NSMethodSignature *)methodSignatureForSelector : (SEL )selector
742- {
741+ - (NSMethodSignature *)methodSignatureForSelector : (SEL )selector {
743742 return [super methodSignatureForSelector: selector];
744743}
745744
You can’t perform that action at this time.
0 commit comments