aboutgitcodelistschat:MatrixIRC
path: root/cooker/cooker.h
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-06-05 16:54:12 +0200
committerAlice Frosi <afrosi@redhat.com>2023-06-05 16:54:12 +0200
commit3b9f21c6c3f06fd5049aa43f116906417d92e11f (patch)
treec56d8857408efb99c13f4af458b14d88fd078a40 /cooker/cooker.h
parentcbf5a607bcd638a1fc8c5b212e1d360528a55b19 (diff)
downloadseitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar
seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.gz
seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.bz2
seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.lz
seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.xz
seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.tar.zst
seitan-3b9f21c6c3f06fd5049aa43f116906417d92e11f.zip
cooker: use unsigned short for family with connect
Diffstat (limited to 'cooker/cooker.h')
-rw-r--r--cooker/cooker.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cooker/cooker.h b/cooker/cooker.h
index 40277c2..7a14221 100644
--- a/cooker/cooker.h
+++ b/cooker/cooker.h
@@ -64,6 +64,7 @@ enum type {
UNDEF = 0,
NONE,
+ USHORT,
INT,
U32,
U64,
@@ -107,7 +108,7 @@ enum flags {
#define TYPE_IS_COMPOUND(t) \
((t) == STRUCT || (t) == SELECT)
#define TYPE_IS_NUM(t) \
- ((t) == INT || (t) == U32 || (t) == U64 || (t) == LONG)
+ ((t) == INT || (t) == U32 || (t) == U64 || (t) == LONG || (t) == USHORT)
/**
* struct num - A numeric value and its label