simple change to atoi function.
Merge pull request #40 from dpflann/dsa

simple change to atoi function.