I've been trying to run a C file from https://github.com/amree/mykad-c/blob/master/scdump.c, but I keep getting Invalid suffix "-252" on integer constant at this part of the code:
if (RxBuffer[0x11E-252] == 'P')
printf("Female\n");
else if (RxBuffer[0x11E-252] == 'L')
printf("Male\n");
else
printf("%c\n", RxBuffer[0x11E-252]);
I'm pretty sure it's syntax related. But I don't really understand code (I'm trying to, but I'm pretty much stuck). Can anyone help me?