mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-05 12:27:05 +00:00
[Swift] Fix padding function overflow when bufSize is 0 (#5721)
* [Swift] Fix padding function overflow when bufSize is 0 [Swift] Generate linuxmain * [Swift] Using the overflow addition operator to resolve integer overflow
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
bab2b0db48
commit
7cdfc8475e
@@ -72,6 +72,7 @@ extension FlatBuffersVectors {
|
||||
// `swift test --generate-linuxmain`
|
||||
// to regenerate.
|
||||
static let __allTests__FlatBuffersVectors = [
|
||||
("testCreateEmptyIntArray", testCreateEmptyIntArray),
|
||||
("testCreateIntArray", testCreateIntArray),
|
||||
("testCreateSharedStringVector", testCreateSharedStringVector),
|
||||
("testCreateVectorOfStrings", testCreateVectorOfStrings),
|
||||
|
||||
Reference in New Issue
Block a user