function abs given an argument of type long but has parameter of type int

Change-Id: Ibc64a17dc4a779e05946dfe5d1d12109e643a7fd