Fix warnings on ARM

This commit is contained in:
Patrick Pelissier committed 2020-10-30 08:02:37 +01:00
1 parent a29682ca29
commit 6aa28b4cfe
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -313,7 +313,7 @@
) \
) \
{ \
struct M_C(name, _s) *self = (struct M_C(name, _s) *)_self; \
struct M_C(name, _s) *self = (struct M_C(name, _s) *)(void*)_self; \
(void) self; /* maybe unused */ \
callback_core; \
} \
+1 -1
View File
@@ -802,7 +802,7 @@ typedef enum {
unsigned int cpt = 0; \
node_t *n = tree->node; \
which[0] = 0; \
tab[cpt++] = (node_t*) &tree->node; /* FIXME: To clean! */ \
tab[cpt++] = (node_t*)(void*) &tree->node; /* FIXME: To clean! */ \
/* Search for the deletion point */ \
tab[cpt] = n; \
while (n != NULL) { \