]> git.lyx.org Git - lyx.git/blobdiff - src/support/convert.cpp
Fix bug 3904
[lyx.git] / src / support / convert.cpp
index 894d7647293cdb05d9514665bc6d4084439aa66c..7f2451e01743931331494089a4277bb5b62ce0d0 100644 (file)
@@ -141,6 +141,13 @@ unsigned int convert<unsigned int>(string const s)
 }
 
 
+template<>
+unsigned long convert<unsigned long>(string const s)
+{
+       return strtoul(s.c_str(), 0, 10);
+}
+
+
 template<>
 double convert<double>(string const s)
 {