]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/parse-util.h
test-compress-benchmark: fix argument parsing on 32bit
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 2 Apr 2016 21:46:49 +0000 (17:46 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 2 Apr 2016 22:58:21 +0000 (18:58 -0400)
commit7c2da2ca8824693c7eeb83e4b22174c33b2a480a
treebba859da449a06e12197ed7f5d7ce8007141e1d0
parent1a112b52734316085eb430df1785279a2ab6f083
test-compress-benchmark: fix argument parsing on 32bit

The patch is not minimal, but a function to parse size_t is probably
going to come in handy in other places, so I think it's nicer to define
a proper parsing function than to open-code the cast.
src/basic/copy.c
src/basic/parse-util.h
src/journal/test-compress-benchmark.c