[PATCH] [Mips] Fix type of 64-bit integer in case of MIPS N64 ABI

Daniel Sanders daniel.sanders at imgtec.com
Thu Jan 22 12:09:13 PST 2015

@hans: Would you be happy for me to merge this to the branch after it's been committed and gone through buildbot?

It fixes a warning:

  tmp.c:6:19: warning: format specifies type 'intmax_t' (aka 'long long') but the argument has type 'intmax_t' (aka 'long') [-Wformat]
    printf("%jd\n", a);
            ~~~     ^

emitted when compiling:

  #include <stdio.h>
  #include <stdint.h>
  int main(void) {
    intmax_t a = 0;
    printf("%jd\n", a);
    return 0;



More information about the cfe-commits mailing list