summaryrefslogtreecommitdiff
path: root/databases/rocksdb/files/patch-i386
blob: 6a22158c1a8490fd09c8c8a88925814a99fccfa8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- db_stress_tool/db_stress_common.cc.orig	2024-05-08 23:03:15 UTC
+++ db_stress_tool/db_stress_common.cc
@@ -200,7 +200,7 @@ void CompressedCacheSetCapacityThread(void* v) {
         // Lower by upto 50% of usable block cache capacity
         adjustment = (adjustment * thread->rand.Uniform(50)) / 100;
         block_cache->SetCapacity(capacity - adjustment);
-        fprintf(stdout, "New cache capacity = %lu\n",
+        fprintf(stdout, "New cache capacity = %zu\n",
                 block_cache->GetCapacity());
         db_stress_env->SleepForMicroseconds(10 * 1000 * 1000);
         block_cache->SetCapacity(capacity);