]> 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 e3a5102ecb0b09a511627f792844705cc6aa8157..67851cb6ff17f9feb3929d5f51e26a0d9eff4c47 100644 (file)
@@ -11,5 +11,5 @@
 
 int lyx::mkdir(string const & pathname, unsigned long int mode)
 {
-       return ::mkdir(pathname.c_str(), mode);
+       return ::mkdir(pathname.c_str(), mode_t(mode));
 }