From a8d1c85daab2129c69f4f91131f543460cc80d20 Mon Sep 17 00:00:00 2001 From: stippi Date: Fri, 23 Apr 2010 15:02:17 +0000 Subject: [PATCH] Fixed looking up uint32 values. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@455 94f232f2-1747-11df-bad5-a5bfde151594 --- src/apps/webpositive/support/SettingsMessage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }