aboutsummaryrefslogtreecommitdiff
path: root/tests/checkfs/checkfs.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-02-15 17:47:58 -0800
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-02-25 10:52:57 +0200
commit1b083e0c9011f32028a79d4ad707deaa17ad1b5e (patch)
tree9d371cd92000a6e439f60f9dc74f007d33e992eb /tests/checkfs/checkfs.c
parent70f86090720d7b5b8203ee43356f8c6f79219896 (diff)
mtd-utils: common.h: simple_strtoll type usage
We must use "long long" and "unsigned long long" types when implementing the functions "simple_strtoll()" and "simple_strtoull()", respectively. This prevents casting/truncation errors on systems where "long" is not the same size as "long long" (that is, on most systems). Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/checkfs/checkfs.c')
0 files changed, 0 insertions, 0 deletions