]> granicus.if.org Git - strace/commit
tests: change SAMPLE_SIZE type to libc_off_t
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 13 Jan 2017 19:31:30 +0000 (19:31 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 13 Jan 2017 19:31:30 +0000 (19:31 +0000)
commit41e15ecd4427bf38cc76103432c65c2d585f8ede
treeabb9af59001b27017349803d1f1dd139a4b06625
parent5679fad7a05a81e44cb247dea82c303d5b57c3c8
tests: change SAMPLE_SIZE type to libc_off_t

As ftruncate libc function and our create_sample function that calls
ftruncate both take size argument of type libc_off_t, change the type
of SAMPLE_SIZE constant to libc_off_t.

* tests/fstat.c (SAMPLE_SIZE): Cast to libc_off_t.
* tests/lstat.c (SAMPLE_SIZE): Likewise.
* tests/oldfstat.c (SAMPLE_SIZE): Likewise.
* tests/oldlstat.c (SAMPLE_SIZE): Likewise.
* tests/oldstat.c (SAMPLE_SIZE): Likewise.
* tests/stat.c (SAMPLE_SIZE): Likewise.
* tests/xstatx.c (SAMPLE_SIZE): Likewise.
tests/fstat.c
tests/lstat.c
tests/oldfstat.c
tests/oldlstat.c
tests/oldstat.c
tests/stat.c
tests/xstatx.c