diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-02 22:33:10 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-02 22:33:10 +0200 |
commit | c8238a5764a76c45e2e2283cd41fdc00e12cfe88 (patch) | |
tree | 31f704cdcdc552fb45752fa48ec509f12a0d2200 | |
parent | 6605ba87db098595c2e9c6fa7c9b53e31539a5fc (diff) | |
download | liberty-c8238a5764a76c45e2e2283cd41fdc00e12cfe88.tar.gz liberty-c8238a5764a76c45e2e2283cd41fdc00e12cfe88.tar.xz liberty-c8238a5764a76c45e2e2283cd41fdc00e12cfe88.zip |
Fix str_pack_u16() argument
-rw-r--r-- | liberty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -554,7 +554,7 @@ str_pack_u8 (struct str *self, uint8_t x) } static void -str_pack_u16 (struct str *self, uint64_t x) +str_pack_u16 (struct str *self, uint16_t x) { uint8_t tmp[2] = { x >> 8, x }; str_append_data (self, tmp, sizeof tmp); |