1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

[lists] cast to void * in case of lack of typeof

This commit is contained in:
Witold Filipczyk 2022-01-22 16:39:16 +01:00
parent f75e78bdd4
commit fffe7169af

View File

@ -136,7 +136,7 @@ struct xlist_head {
#define list_typeof2(x) typeof(x) #define list_typeof2(x) typeof(x)
#else #else
#define list_typeof(x) struct xlist_head * #define list_typeof(x) struct xlist_head *
#define list_typeof2(x) #define list_typeof2(x) void *
#endif /* HAVE_TYPEOF */ #endif /* HAVE_TYPEOF */