tracker: Fix wrong type of arguments to formatting function
Use B_PRId32 for int32 type fValue. Pointed out by lgtm. Change-Id: I751451281ace627e2f3be67d1b860b8ebe675ba5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3886 Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
Jérôme Duval
parent
df026fdf16
commit
2bde55cb6c
@@ -234,7 +234,7 @@ ScalarValueSetting::Handle(const char* const* argv)
|
|||||||
void
|
void
|
||||||
ScalarValueSetting::SaveSettingValue(Settings* settings)
|
ScalarValueSetting::SaveSettingValue(Settings* settings)
|
||||||
{
|
{
|
||||||
settings->Write("%ld", fValue);
|
settings->Write("%" B_PRId32, fValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user