Avoid intentional unsigned integer overflow getting caught by sanitizers (#5572)
authorBjörn Harrtell <bjornharrtell@users.noreply.github.com>
Thu, 17 Oct 2019 22:47:51 +0000 (00:47 +0200)
committerWouter van Oortmerssen <aardappel@gmail.com>
Thu, 17 Oct 2019 22:47:51 +0000 (15:47 -0700)
commitfbc11e8aecde224fb0884bd0a7a20621f9e3b75d
tree5f11f95bd742f8ca183ebb8baeeecacf88d1d727
parente9d29c21a70c91d6e33c7573fd6beead01bdbe7e
Avoid intentional unsigned integer overflow getting caught by sanitizers (#5572)

* Avoid intentional unsigned integer overflow getting caught by sanitizers

* Adapt from suggested compiler compatible solution

* And a third way :)
include/flatbuffers/flatbuffers.h