Fix signed integer overflow in StaticTracepointTest.cpp
authorYedidya Feldblum <yfeldblum@fb.com>
Sun, 10 Dec 2017 01:09:24 +0000 (17:09 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 10 Dec 2017 01:22:07 +0000 (17:22 -0800)
commit015306906e2811cc0cf3dab0c4142d45434a2801
treee1ea60b4f9933f5917c37ec647ccc1593eac6b7e
parentbca34971c398bb8f5f258dba57206068bfd29937
Fix signed integer overflow in StaticTracepointTest.cpp

Summary:
[Folly] Fix signed integer overflow in `StaticTracepointTest.cpp`.

It is undefined behavior and is caught by UBSAN in some test runs.

Reviewed By: Orvid

Differential Revision: D6528445

fbshipit-source-id: e4a199e9005b57bcd93c8c4b69f37ccb1e072bdf
folly/tracing/test/StaticTracepointTest.cpp