updating signature to use int32

it was being truncated to int32 silently.