strtonum.h - change return type to long