The unsigned long long
type doesn't work as expected for me. Here's my simple code:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
unsigned long long a = 2932306814;
printf("a = %d\n", a);
return EXIT_SUCCESS;
}
I get the following output:
a = -1362660482
The used gcc
was installed as part of mingw and has version 4.8.1.