mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
Fix build errors on 32-bit arches.
```
In file included from ../../src/lib/lib.h:37,
from http-server-settings.c:3:
../../src/lib/macros.h:173:21: error: size of unnamed array is negative
173 | (sizeof(char[1 - 2 * ((condition) ? 1 : 0)]) > 0 ? FALSE : FALSE)
| ^
../../src/lib/macros.h:182:9: note: in expansion of macro 'COMPILE_ERROR_IF_TRUE'
182 | COMPILE_ERROR_IF_TRUE( \
| ^~~~~~~~~~~~~~~~~~~~~
../../src/lib-settings/settings-parser.h:78:34: note: in expansion of macro 'COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE'
78 | { .type = (_enum_type) + COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE( \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/lib-settings/settings-parser.h:125:9: note: in expansion of macro 'SETTING_DEFINE_STRUCT_TYPE'
125 | SETTING_DEFINE_STRUCT_TYPE(SET_SIZE, SET_FLAG_HIDDEN, uoff_t, key, name, struct_name)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
http-server-settings.c:13:9: note: in expansion of macro 'SETTING_DEFINE_STRUCT_SIZE_HIDDEN'
13 | SETTING_DEFINE_STRUCT_##type("http_server_"#name, name, struct http_server_settings)
| ^~~~~~~~~~~~~~~~~~~~~~
http-server-settings.c:34:9: note: in expansion of macro 'DEF'
34 | DEF(SIZE_HIDDEN, socket_send_buffer_size),
| ^~~
```