Variable of u64 type was passed to vararg function as uint.
return NULL;
}
-static u64
+static uint
get_value(const byte *val, u8 len)
{
switch (len)
case 1: return *val;
case 2: return get_u16(val);
case 4: return get_u32(val);
- case 8: return get_u64(val);
+ // No component may have length 8
+ // case 8: return get_u64(val);
}
return 0;
{
const byte *last_op = NULL;
const byte *op = part+1;
- u64 val;
+ uint val;
uint len;
uint first = 1;
net_format_flow_bitmask(buffer *b, const byte *part)
{
const byte *op = part+1;
- u64 val;
+ uint val;
uint len;
uint first = 1;