[PATCH 4.4 037/105] branch-check: fix long->int truncation when profiling branches