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/emit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cooker/emit.c') diff --git a/cooker/emit.c b/cooker/emit.c index 4303115..4be5d35 100644 --- a/cooker/emit.c +++ b/cooker/emit.c @@ -16,7 +16,7 @@ static const char *type_str[] = { "UNDEF", "NONE", - "INT", "U32", "U64", "LONG", + "USHORT", "INT", "U32", "U64", "LONG", "STRING", "STRUCT", "SELECT", "PID", @@ -331,6 +331,7 @@ static struct gluten_offset emit_data_do(struct gluten_ctx *g, } switch (type) { + case USHORT: case INT: if (add) { *(int *)p |= value->v_int; -- cgit v1.2.3