]> git.ipfire.org Git - thirdparty/make.git/commit
Fix compiler warnings in the MS-Windows build.
authorEli Zaretskii <eliz@gnu.org>
Sun, 25 Sep 2022 14:11:12 +0000 (17:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 25 Sep 2022 14:11:12 +0000 (17:11 +0300)
commit387d349dc8211e3eb2955cc5e29a85f186af82ce
treeff9b0851484c63dcc20d33d2ea159c442cd60e32
parentcaad0e21819d14c8bdf0cf7cd75f275f0aa08876
Fix compiler warnings in the MS-Windows build.

* src/w32/w32os.c (osync_get_mutex, osync_parse_mutex): Cast to
DWORD_PTR when converting integers to HANDLEs and vice versa.

* src/w32/pathstuff.c (w32ify): Pacify compiler warnings about
'strncpy'.

* src/makeint.h (PRId64) [!HAVE_INTTYPES_H]: Define if undefined.
* src/function.c (func_wordlist): Use PRId64 instead of %lld.
src/function.c
src/makeint.h
src/w32/pathstuff.c
src/w32/w32os.c