Add another type to raw/locale convert.
[libdcp.git] / src / raw_convert.cc
index f51a10f6806c6cbac22d2c92dc9a41f6045b6509..7b4e6c6d03f0a2b6398e10808164a8d330229437 100644 (file)
@@ -196,6 +196,13 @@ dcp::raw_convert (string v, int precision, bool fixed)
        return locale_convert<long> (make_local (v), precision, fixed);
 }
 
+template <>
+unsigned long
+dcp::raw_convert (string v, int precision, bool fixed)
+{
+       return locale_convert<unsigned long> (make_local (v), precision, fixed);
+}
+
 template <>
 long long
 dcp::raw_convert (string v, int precision, bool fixed)