Hi everyone.
I have a very simple question about converting strings(in hex) into signed integer number.
I use strtol, but it does not work at all.
char code[]="FFFFFFFF";
int m;
m=strtol(code,NULL,16);
printf("%d\n",m);
but the result is not -1
How can I manage this in C?
Best regards.