Pacify compilation -Wincompatible-pointer-types warnings
commit87b8992ca357e180bf87f4a8df3ef58b7de89695
authorAndy Moreton <andrewjmoreton@gmail.com>
Tue, 28 Jul 2015 13:37:31 +0000 (28 16:37 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 28 Jul 2015 13:37:31 +0000 (28 16:37 +0300)
tree0f6b9cea989b76409d0f5bfa7a4a82cd7b00aeab
parent1216f7332d18248017835b1b01ded6345b51b976
Pacify compilation -Wincompatible-pointer-types warnings

* src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
warning.
(CompareStringW_Proc): New typedef.
(w32_compare_strings): Use it, to pacify compiler warnings under
"-Wincompatible-pointer-types".
* src/w32fns.c (GetDiskFreeSpaceExW_Proc)
(GetDiskFreeSpaceExA_Proc): New typedefs.
(Ffile_system_info): Use them, to pacify compiler warnings under
"-Wincompatible-pointer-types".

Copyright-paperwork-exempt: yes
src/w32fns.c
src/w32proc.c