diff options
author | Bruno Haible <bruno@clisp.org> | 2019-04-27 16:23:15 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-04-27 16:23:15 +0200 |
commit | 7ffb59a71322feee0c29c6ba46e100cc2c90cb08 (patch) | |
tree | 0fa4c951709696b2dab6d3040eb60b604679fe7b /lib/gl_avltreehash_list.c | |
parent | 7f9640b56826df74f4a12ecb8184c780a7bb54a6 (diff) | |
download | gnulib-7ffb59a71322feee0c29c6ba46e100cc2c90cb08.tar.gz |
Fix gcc warnings on 64-bit mode mingw.
* lib/clean-temp.c: Include <stdint.h> instead of defining uintptr_t.
* lib/gl_array_list.c: Likewise.
* lib/gl_array_map.c: Likewise.
* lib/gl_array_set.c: Likewise.
* lib/gl_carray_list.c: Likewise.
* lib/gl_sublist.c: Likewise.
* lib/gl_avltreehash_list.c (uintptr_t): Remove definition.
* lib/gl_rbtreehash_list.c (uintptr_t): Likewise.
* lib/gl_hash_map.c (uintptr_t): Likewise.
* lib/gl_hash_set.c (uintptr_t): Likewise.
* lib/gl_linkedhash_list.c (uintptr_t): Likewise.
* lib/gl_linkedhash_map.c (uintptr_t): Likewise.
* lib/gl_linkedhash_set.c (uintptr_t): Likewise.
* lib/iconv.c (uintptr_t): Likewise.
* lib/iconv_close.c (uintptr_t): Likewise.
* tests/test-lock.c: Include <stdint.h>.
(once_contender_thread, test_once): Cast through 'intptr_t' instead of
'long'.
* modules/clean-temp (Depends-on): Add stdint.
* modules/array-list (Depends-on): Likewise.
* modules/array-map (Depends-on): Likewise.
* modules/array-set (Depends-on): Likewise.
* modules/carray-list (Depends-on): Likewise.
* modules/sublist (Depends-on): Likewise.
* modules/lock-tests (Depends-on): Likewise.
Diffstat (limited to 'lib/gl_avltreehash_list.c')
-rw-r--r-- | lib/gl_avltreehash_list.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gl_avltreehash_list.c b/lib/gl_avltreehash_list.c index d72f149361..21876bed9e 100644 --- a/lib/gl_avltreehash_list.c +++ b/lib/gl_avltreehash_list.c @@ -20,16 +20,12 @@ /* Specification. */ #include "gl_avltreehash_list.h" -#include <stdint.h> /* for SIZE_MAX */ +#include <stdint.h> /* for uintptr_t, SIZE_MAX */ #include <stdlib.h> #include "gl_avltree_oset.h" #include "xsize.h" -#ifndef uintptr_t -# define uintptr_t unsigned long -#endif - #define WITH_HASHTABLE 1 /* Which kind of binary trees to use for ordered sets. Quite arbitrary. */ |