[PATCH] [Mips] Fix type of 64-bit integer in case of MIPS N64 ABI
Hans Wennborg
hans at chromium.org
Thu Jan 22 18:26:00 PST 2015
Merged in r226894.
Thanks,
Hans
On Thu, Jan 22, 2015 at 12:09 PM, Daniel Sanders
<daniel.sanders at imgtec.com> wrote:
> @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);
> ~~~ ^
> %jd
>
> emitted when compiling:
>
> #include <stdio.h>
> #include <stdint.h>
> int main(void) {
> intmax_t a = 0;
> printf("%jd\n", a);
> return 0;
> }
>
>
> http://reviews.llvm.org/D7127
>
> EMAIL PREFERENCES
> http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
More information about the cfe-commits
mailing list