1
0
Fork 0

fix compile warning

This commit is contained in:
jsteemann 2017-01-04 14:06:32 +01:00
parent fca1a5431c
commit 080bef039f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ RevisionCacheFeature::RevisionCacheFeature(ApplicationServer* server)
if (TRI_PhysicalMemory >= 2147483648ULL) { // 2 GB
// reset target size to a fraction of the available memory
_targetSize = TRI_PhysicalMemory - 1073741824ULL; // 1 GB
_targetSize *= 0.4; // 40 % or RAM
_targetSize = static_cast<decltype(_targetSize)>(_targetSize * 0.4); // 40 % or RAM
}
}