Update to use slong instead of long.