Skip to content

Instantly share code, notes, and snippets.

@huiyiqun
Created February 16, 2015 08:32
Show Gist options
  • Save huiyiqun/2fdac5410b511762175f to your computer and use it in GitHub Desktop.
Save huiyiqun/2fdac5410b511762175f to your computer and use it in GitHub Desktop.
temp.c:5:13: warning: length modifier 'I64' results in undefined behavior or no effect with 'd' conversion specifier [-Wformat]
scanf("%I64d", &a);
~^~~~
temp.c:5:20: warning: format specifies type '__int64 *' (aka 'long long *') but the argument has type 'int *' [-Wformat]
scanf("%I64d", &a);
~~~~~ ^~
%d
#include <stdio.h>
int main() {
int a;
scanf("%I64d", &a);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment