summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-22 15:02:45 +0000
committerCarl Hetherington <cth@carlh.net>2019-03-22 15:02:45 +0000
commit1c2cb3ec88a4504655d1ce202c7c9d526e32185a (patch)
treea9345477359b9448372c1c0da67fc3d3695cbabd /src
parente8b480e299938dbb74becf290c1e9befbf3765b1 (diff)
Fix incorrect type.
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;
}