Skip to content

Commit f8ab207

Browse files
committed
test: adjust declaration to be portable (NFCI)
`long` is teated as `Int32` on Windows x86_64. `intptr_t` will be mapped to `Int` and `Int64`. This fixes the failing test on Windows which is LLP64 and should be equivalent on LP64 targets.
1 parent 61261fc commit f8ab207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import UnimportableMembers;
22

33
@interface DesignatedInitializerInAnotherModule (/*evil class extension*/)
4-
- (instancetype)initFromOtherModule:(long)x __attribute__((objc_designated_initializer));
4+
- (instancetype)initFromOtherModule:(intptr_t)x __attribute__((objc_designated_initializer));
55
@end

0 commit comments

Comments
 (0)