Browse Source

Adjust size of integer when converting

prototype
Alex Williams 9 months ago
parent
commit
e05b1ae297
Signed by: aw GPG Key ID: 19EE4AAA361A7E2C
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libboawp.l

+ 1
- 1
libboawp.l View File

@ -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