grpc / grpc-ios

gRPC for iOS
Apache License 2.0
39 stars 22 forks source link

[native_fix] Patch upb 64 to 32 bit conversion warning #84

Closed dennycd closed 2 years ago

dennycd commented 2 years ago

Summary

Explicit casting to avoid 64 to 32 bit conversion clang warning (-Wshorten-64-to-32) as seen from gRPC and Firebase SDK. This is a release branch hot fix and the patch will also be upstreamed to upb repo (https://github.com/protocolbuffers/upb)

Test

swift build && swift test


Umbrella: https://github.com/grpc/grpc-ios/issues/83 Firebase: https://github.com/firebase/firebase-ios-sdk/issues/9790