macho: Improve macho_calculate_sizes
commitec8b2081d384bc8937e22f99af35c165f60316f5
authorMartin Lindhe <martin-commit@ubique.se>
Wed, 16 Nov 2016 15:32:19 +0000 (16 16:32 +0100)
committerCyrill Gorcunov <gorcunov@gmail.com>
Thu, 5 Jan 2017 19:38:41 +0000 (5 22:38 +0300)
tree2df98ed5888f5cab1f0758ca73865b0e7ed70383
parentd551b431a194eabd4cc7daab222a8ee4e08f9a65
macho: Improve macho_calculate_sizes

pvs-studio error 'V629 Consider inspecting the '1 << s->align' expression.
Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type.'

Signed-off-by: Martin Lindhe <martin-commit@ubique.se>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
output/outmacho.c