I got this behaviour on sccz80 while tuning CLISP
#include <stdio.h>
void main () {
printf("%ld\n", -1L);
printf("%ld\n", -2L);
printf("%ld\n", -3L);
printf("%ld\n", -4L);
}
-1
4294967294
-3
4294967292
Bug on signed long types on printf ?
Re: Bug on signed long types on printf ?
Nice one. I'll push a fix this evening - it's checking the wrong register for the signed/unsigned check
Re: Bug on signed long types on printf ?
Consider it fixed...
Re: Bug on signed long types on printf ?
Thank you 
