sasagawa888 / eisl

ISLisp interpreter/compiler
Other
288 stars 23 forks source link

wrong result (convert 1234567890 <string>) on Raspberry PI #249

Closed sasagawa888 closed 1 year ago

sasagawa888 commented 1 year ago

(convert 1234567890 ) return "0" on RASPI.

sasagawa888 commented 1 year ago

Fixed.

on RASPI use sprintf

#ifdef __rpi__
 sprintf(str, "%lld", GET_LONG(arg1));
#else       
Fmt_sfmt(str, SHORT_STRSIZE, "%D", GET_LONG(arg1));
#endif