diff --git a/src/cpp/ripple/TaggedCache.h b/src/cpp/ripple/TaggedCache.h index 6ef2ca580..89135fda7 100644 --- a/src/cpp/ripple/TaggedCache.h +++ b/src/cpp/ripple/TaggedCache.h @@ -116,7 +116,7 @@ template void TaggedCache::sweep { if (mTargetSize != 0) { - target = mLastSweep - (mTargetAge * mCache.size() / mTargetSize); + target = mLastSweep - (mTargetAge * mTargeSize / mCache.size()); if (target > (mLastSweep - 2)) target = mLastSweep - 2;