]> git.lyx.org Git - lyx.git/blobdiff - src/support/mkdir.C
fix typo that put too many include paths for most people
[lyx.git] / src / support / mkdir.C
index 66f148821e4b02c67a4ba2d94d2d87d3cca2b375..67851cb6ff17f9feb3929d5f51e26a0d9eff4c47 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "lyxlib.h"
 
-int lyx::mkdir(string const & pathname, mode_t mode)
+int lyx::mkdir(string const & pathname, unsigned long int mode)
 {
-       return ::mkdir(pathname.c_str(), mode);
+       return ::mkdir(pathname.c_str(), mode_t(mode));
 }