rsmmr / hilti

**NOTE**: This is outdated and no longer maintained. There's a new version at https://github.com/zeek/spicy.
Other
40 stars 22 forks source link

spicy-dump prints signed int instead of unsigned int #39

Open dloss opened 7 years ago

dloss commented 7 years ago
# cat mini.spicy
module Mini;

export type Test = unit {
    b : uint8;
};
# printf "\xFE" | spicy-dump mini.spicy
<
  b=-2
>

Correct would be b=254 (which is what spicy-driver shows if a "print self;" hook is added).

# spicy-config --version
Spicy 0.5-4