dxxb / sim-arduboy

Arduboy board implementation using simavr
GNU General Public License v3.0
22 stars 8 forks source link

strtol() instead atoi() #18

Closed dlancer closed 6 years ago

dlancer commented 6 years ago

https://github.com/dxxb/sim-arduboy/blob/e8d96b79f82f37f4cc8a83ff076ce170544d0bb2/src/cli.c#L40

Probably all atoi() calls should be replaced to strtol(), because it report conversion errors.

dxxb commented 6 years ago

Done in b4ce99db01d567109178f3db8bf820261145820c

dlancer commented 6 years ago

It seems one more missed, see my post (line 40).