0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-06 12:53:18 +00:00
Files
packages/net/ostiary/patches/010-gcc14.patch
Rosen Penev 1e1fe45c02 ostiary: fix compilation with GCC14
Wrong pointer type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-06-04 14:14:33 -07:00

12 lines
316 B
Diff

--- a/ost_main.c
+++ b/ost_main.c
@@ -788,7 +788,7 @@ void Hup_Handler(int sig)
int main(int argc, char *argv[])
{
int i, listen_sock, clnt_sock, success;
- size_t struct_len;
+ socklen_t struct_len;
char hash_out_buf[HASH_TEXT_SIZE]; /* for debug output */
#if HAVE_SIGACTION
struct sigaction sigact;