summaryrefslogtreecommitdiff
path: root/dist/libxcb/src/xcb_list.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2022-07-17 08:31:11 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2022-07-17 08:31:11 +0000
commit6cccfd93d90df41c275b06d3e5a40658b661566c (patch)
tree1aab3c632b04c7332392b5c1273406ac2b049e60 /dist/libxcb/src/xcb_list.c
parentc36abfebd4d7981796005f812b8f35bf745e1d64 (diff)
Update libxcb to version 1.15 + xcb-protos 1.15.2
Diffstat (limited to 'dist/libxcb/src/xcb_list.c')
-rw-r--r--dist/libxcb/src/xcb_list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/libxcb/src/xcb_list.c b/dist/libxcb/src/xcb_list.c
index 129540bc4..bdd2d43f7 100644
--- a/dist/libxcb/src/xcb_list.c
+++ b/dist/libxcb/src/xcb_list.c
@@ -36,7 +36,7 @@
typedef struct node {
struct node *next;
- unsigned int key;
+ uint64_t key;
void *data;
} node;
@@ -73,7 +73,7 @@ void _xcb_map_delete(_xcb_map *list, xcb_list_free_func_t do_free)
free(list);
}
-int _xcb_map_put(_xcb_map *list, unsigned int key, void *data)
+int _xcb_map_put(_xcb_map *list, uint64_t key, void *data)
{
node *cur = malloc(sizeof(node));
if(!cur)
@@ -86,7 +86,7 @@ int _xcb_map_put(_xcb_map *list, unsigned int key, void *data)
return 1;
}
-void *_xcb_map_remove(_xcb_map *list, unsigned int key)
+void *_xcb_map_remove(_xcb_map *list, uint64_t key)
{
node **cur;
for(cur = &list->head; *cur; cur = &(*cur)->next)