| |
@@ -2031,7 +2031,7 @@
|
| |
|
| |
if (apply) {
|
| |
CFG_LOCK_WRITE(slapdFrontendConfig);
|
| |
- slapdFrontendConfig->disk_threshold = threshold;
|
| |
+ slapdFrontendConfig->disk_threshold = (uint64_t)threshold;
|
| |
CFG_UNLOCK_WRITE(slapdFrontendConfig);
|
| |
}
|
| |
|
| |
@@ -5164,11 +5164,11 @@
|
| |
return retVal;
|
| |
}
|
| |
|
| |
- PRInt64
|
| |
+ uint64_t
|
| |
config_get_disk_threshold()
|
| |
{
|
| |
slapdFrontendConfig_t *slapdFrontendConfig = getFrontendConfig();
|
| |
- PRInt64 retVal;
|
| |
+ uint64_t retVal;
|
| |
|
| |
CFG_LOCK_READ(slapdFrontendConfig);
|
| |
retVal = slapdFrontendConfig->disk_threshold;
|
| |
Description: Function parameters are inconsistence.
Documentation states that threshold should be 2^63 - 1
so we can use int64_t for that.
https://pagure.io/389-ds-base/issue/50984
Reviewed by: ?