]> git.kaiwu.me - klib.git/commit
Fix kputl(LONG_MIN) bug
authorJohn Marshall <jm18@sanger.ac.uk>
Tue, 23 Jul 2013 10:56:15 +0000 (11:56 +0100)
committerJohn Marshall <jm18@sanger.ac.uk>
Tue, 23 Jul 2013 10:56:15 +0000 (11:56 +0100)
commitd47fc9def4581eabedffbbffbe5ad3ab6af70822
treecfbf6b8ba6d112f995e3b95f460a4999f0480fe6
parentc95f147e6705509ae940dd62246fa7a7483ef2f2
Fix kputl(LONG_MIN) bug

Use an explicitly unsigned long, and do any negation as that type.

Make similar changes to kputw(), as the code is clearer.
kstring.h