bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34106: 27.0.50; master build failed with MSYS2/MinGW-w64


From: Eli Zaretskii
Subject: bug#34106: 27.0.50; master build failed with MSYS2/MinGW-w64
Date: Wed, 16 Jan 2019 20:06:01 +0200

> From: Andy Moreton <address@hidden>
> Date: Wed, 16 Jan 2019 17:44:10 +0000
> 
> The MSYS2/Mingw-w64 build also has a warning:
> 
> C:/emacs/git/emacs/master/src/emacs.c: In function 'load_pdump':
> C:/emacs/git/emacs/master/src/emacs.c:752:28: warning: field precision 
> specifier '.*' expects argument of type 'int', but argument 3 has type 
> 'size_t' {aka 'long long unsigned int'} [-Wformat=]
>      sprintf (dump_file, "%.*s%s", argv0_len - 4, argv[0], suffix);
>                           ~~^~     ~~~~~~~~~~~~~
> 
> The following patch fixes the warning, and fixes the bug above without
> needing a cast:

Thanks, pushed.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]