diff --git a/src/apps/webpositive/support/SettingsMessage.cpp b/src/apps/webpositive/support/SettingsMessage.cpp index e11900b1b5..15dc12394c 100644 --- a/src/apps/webpositive/support/SettingsMessage.cpp +++ b/src/apps/webpositive/support/SettingsMessage.cpp @@ -363,10 +363,10 @@ SettingsMessage::GetValue(const char* name, int32 defaultValue) const uint32 SettingsMessage::GetValue(const char* name, uint32 defaultValue) const { - int32 value; - if (FindInt32(name, &value) != B_OK) + uint32 value; + if (FindUInt32(name, &value) != B_OK) return defaultValue; - return (uint32)value; + return value; }