Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Formerly `static_cast<StreamId>(bits)` and `static_cast<DeviceIndex>(bits)` were and-ed against `ull` types resulting in an integer promotion which later raised a warning in downcasting passes to `Stream` and `Device`. Moving the `&` operation inside the cast results in two `uint64_t` being operated on and then cast to the correct type, eliminating the warning. Test Plan: Standard pre-commit test rig. Differential Revision: D24481292 fbshipit-source-id: 16ba68690e58ce8b710bb082542c1a5451548742
- Loading branch information