From 3b9f21c6c3f06fd5049aa43f116906417d92e11f Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Mon, 5 Jun 2023 16:54:12 +0200 Subject: cooker: use unsigned short for family with connect --- cooker/calls/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cooker/calls') diff --git a/cooker/calls/net.c b/cooker/calls/net.c index 7231a0e..7a7fd33 100644 --- a/cooker/calls/net.c +++ b/cooker/calls/net.c @@ -162,7 +162,7 @@ static struct field connect_addr_nl[] = { }; static struct field connect_family = { - "family", INT, 0, + "family", USHORT, 0, offsetof(struct sockaddr, sa_family), 0, { .d_num = af } }; -- cgit v1.2.3