projects
/
cascardo
/
libreceita.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
c76fb86
)
Convert chars to len with unsigned buffer
author
Alexandre Oliva
<lxoliva@fsfla.org>
Thu, 6 Mar 2014 13:07:22 +0000
(10:07 -0300)
committer
Thadeu Lima de Souza Cascardo
<cascardo@cascardo.info>
Fri, 7 Mar 2014 22:54:25 +0000
(19:54 -0300)
Introduce chars2len to compute a len out of an unsigned char buf[2].
This avoids problems when any of the chars is negative, if char is
signed.
No differences found