aboutsummaryrefslogtreecommitdiff
path: root/liberty.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-02 22:33:10 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-02 22:33:10 +0200
commitc8238a5764a76c45e2e2283cd41fdc00e12cfe88 (patch)
tree31f704cdcdc552fb45752fa48ec509f12a0d2200 /liberty.c
parent6605ba87db098595c2e9c6fa7c9b53e31539a5fc (diff)
downloadliberty-c8238a5764a76c45e2e2283cd41fdc00e12cfe88.tar.gz
liberty-c8238a5764a76c45e2e2283cd41fdc00e12cfe88.tar.xz
liberty-c8238a5764a76c45e2e2283cd41fdc00e12cfe88.zip
Fix str_pack_u16() argument
Diffstat (limited to 'liberty.c')
-rw-r--r--liberty.c2
1 files changed, 1 insertions, 1 deletions
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);