aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2004-12-08 19:40:33 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2004-12-08 19:40:33 +0000
commitdb6e4244c61c37118bb177e8a105582763a9d4e0 (patch)
tree7b08074153c78125d6077a593a75878694f881ed /benchmarks
parent5b4e49c639fcbce2d20a7000702b737df6e44e8b (diff)
downloadports-db6e4244c61c37118bb177e8a105582763a9d4e0.tar.gz
ports-db6e4244c61c37118bb177e8a105582763a9d4e0.zip
Fix compilation on sparc64.
Notes
Notes: svn path=/head/; revision=123484
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/raidtest/files/raidtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/raidtest/files/raidtest.c b/benchmarks/raidtest/files/raidtest.c
index f5eb962f9d72..2c877f9a45ec 100644
--- a/benchmarks/raidtest/files/raidtest.c
+++ b/benchmarks/raidtest/files/raidtest.c
@@ -322,8 +322,8 @@ raidtest_test(int argc, char *argv[])
if (procs == NULL) {
close(fdf);
close(fdd);
- errx(EXIT_FAILURE, "Cannot allocate %u bytes of memory.",
- sizeof(pid_t) * nprocs);
+ errx(EXIT_FAILURE, "Cannot allocate %zu bytes of memory.",
+ sizeof(pid_t) * (size_t)nprocs);
}
iorqs =
malloc((sb.st_size / sizeof(struct iorec)) * sizeof(struct ioreq));