Skip to content

Commit 94a35a1

Browse files
authored
Merge pull request #14492 from compnerd/CFHashType
Shims: match the declared type for CF interfaces
2 parents 7838244 + 48e208e commit 94a35a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/SwiftShims/CFHashingShims.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ CF_INLINE CFHashCode __CFHashDouble(double d) {
2929
return (CFHashCode)(integralHash + (CFHashCode)((d - dInt) * ULONG_MAX));
3030
}
3131

32-
CF_EXPORT CFHashCode CFHashBytes(uint8_t *_Nullable bytes, long len);
32+
CF_EXPORT CFHashCode CFHashBytes(uint8_t *_Nullable bytes, CFIndex len);
3333

3434

35-
CF_INLINE CFHashCode __CFHashBytes(uint8_t *_Nullable bytes, long len) {
35+
CF_INLINE CFHashCode __CFHashBytes(uint8_t *_Nullable bytes, CFIndex len) {
3636
return CFHashBytes(bytes, len);
3737
}
3838

0 commit comments

Comments
 (0)