Skip to content

Commit

Permalink
FIx protobuf issue (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye authored Nov 24, 2024
1 parent 4961349 commit 2bb0f9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Sources/OpenSwiftUICore/Data/Protobuf/ProtobufDecoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Audited for iOS 18.0
// Status: Complete
// ID: FFA06CAF6B06DC3E21EC75547A0CD421
// ID: FFA06CAF6B06DC3E21EC75547A0CD421 (SwiftUICore)

package import Foundation

Expand Down Expand Up @@ -65,6 +65,8 @@ extension ProtobufDecoder {
return packedField
} else if packedEnd < ptr {
throw DecodingError.failed
} else {
packedField = Field(rawValue: 0)
}
}
let result = try decodeVariant()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Audited for iOS 18.0
// Status: Complete
// ID: C7B3AAD101AF9EA76FC322BD6EF713E6
// ID: C7B3AAD101AF9EA76FC322BD6EF713E6 (SwiftUICore)

package import Foundation

Expand Down

0 comments on commit 2bb0f9d

Please sign in to comment.