summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/locale_convert.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale_convert.cc b/src/locale_convert.cc
index 5e7c350f..5164f89f 100644
--- a/src/locale_convert.cc
+++ b/src/locale_convert.cc
@@ -219,7 +219,7 @@ template<>
unsigned int
dcp::locale_convert (string x, int, bool)
{
- int y = 0;
+ unsigned int y = 0;
sscanf (x.c_str(), "%u", &y);
return y;
}