1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

- Fix build on i386

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-12-06 17:51:42 +00:00
parent 5d44581a5b
commit ffb8224a03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403131

View File

@ -0,0 +1,11 @@
--- tools/db_stress.cc.orig 2015-11-17 21:52:04 UTC
+++ tools/db_stress.cc
@@ -590,7 +590,7 @@ class Stats {
"", bytes_mb, rate, (100*writes_)/done_, done_);
fprintf(stdout, "%-12s: Wrote %ld times\n", "", writes_);
fprintf(stdout, "%-12s: Deleted %ld times\n", "", deletes_);
- fprintf(stdout, "%-12s: Single deleted %ld times\n", "", single_deletes_);
+ fprintf(stdout, "%-12s: Single deleted %zu times\n", "", single_deletes_);
fprintf(stdout, "%-12s: %ld read and %ld found the key\n", "",
gets_, founds_);
fprintf(stdout, "%-12s: Prefix scanned %ld times\n", "", prefixes_);