From c8238a5764a76c45e2e2283cd41fdc00e12cfe88 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sat, 2 May 2015 22:33:10 +0200 Subject: Fix str_pack_u16() argument --- liberty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liberty.c b/liberty.c index da1e926..05c2a79 100644 --- a/liberty.c +++ b/liberty.c @@ -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); -- cgit v1.2.3-70-g09d2