]> the.earth.li Git - onak.git/commit
Use strtouq to parse keyid instead of strtoul
authorJonathan McDowell <noodles@earth.li>
Tue, 30 Sep 2014 21:34:21 +0000 (22:34 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 30 Sep 2014 21:34:21 +0000 (22:34 +0100)
commit3648a31750b3b42197c404483a18ca63d5f8777b
tree74d8ec31b8f466ce457ab3e4c972a14fccfd0a23
parent90ced57c42e46cda45258fd86e76bebe909a38e4
Use strtouq to parse keyid instead of strtoul

The use of strtoul to parse the key ID breaks parsing 64 bit key IDs
on 32 bit platforms. Use strtouq instead, which is defined as returning
a 64 bit rather than being dependant on the length of "unsigned long".
onak.c