Browse Source

Adjust size of integer when converting

prototype
Alex Williams 11 months ago
parent
commit
e05b1ae297
Signed by: aw GPG Key ID: 19EE4AAA361A7E2C
  1. 2
      libboawp.l

2
libboawp.l

@ -32,7 +32,7 @@
("n" 'null)
("t" 'true)
("f" 'false)
("i" (let Buf (cut Vlength 'Buffer) (_boawp-twos-complement (_boawp-list-to-int Buf) (* 8 (length Buf)))))
("i" (let Buf (cut Vlength 'Buffer) (_boawp-twos-complement (_boawp-list-to-int Buf) (* 8 (+ 1 (length Buf))))))
("s" (let Buf (cut Vlength 'Buffer) (_boawp-utf8-str Buf)))
("b" (cut Vlength 'Buffer))
("h" (let Buf (cut Vlength 'Buffer) (boawp-decode-headers Buf)))

Loading…
Cancel
Save