]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: test_1: fix compilation warnings
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 24 Mar 2011 08:19:21 +0000 (10:19 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 24 Mar 2011 09:10:47 +0000 (11:10 +0200)
commit1895b7b9eacd27112fd1fbeb7d10e67ffeae5041
tree557a5786bf0ee597611ffa29cd425a1b695c6709
parent6022deaa5b3b46926757d90fedb8835718150763
fs-tests: test_1: fix compilation warnings

Fix the following compilation warnings:
test_1.c: In function ‘test_1’:
test_1.c:67:4: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’
test_1.c:88:3: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’

The fix is to cast the argument with (unsigned long long).

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/fs-tests/simple/test_1.c