1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Avoid warning in output code on 64-bit native Windows platforms.

This commit is contained in:
Bruno Haible
2016-11-26 02:54:25 +01:00
parent baf89d87f0
commit b468e3aae0
2 changed files with 23 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
2016-11-26 Bruno Haible <bruno@clisp.org>
Avoid 'warning: cast from pointer to integer of different size'
in output code on 64-bit native Windows platforms.
* src/output.cc (output_keyword_entry): Cast pointer to 'size_t',
not to 'long', before casting it further to 'int'.
* tests/*.exp: Update.
Reported at <https://savannah.gnu.org/bugs/?45330>.
2016-11-26 Bruno Haible <bruno@clisp.org>
Don't use 'register' storage-class specifier in C++ output code.