X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fmkdir.C;h=e9cd1b622f1a46e425556488f2230b60bda550e5;hb=2c3ae20fc2ed8a1e9d8e46be5b20d3fc88b48dfc;hp=e3a5102ecb0b09a511627f792844705cc6aa8157;hpb=d6665cba427b04ae37f42c846398cad518d2be0f;p=lyx.git diff --git a/src/support/mkdir.C b/src/support/mkdir.C index e3a5102ecb..e9cd1b622f 100644 --- a/src/support/mkdir.C +++ b/src/support/mkdir.C @@ -11,5 +11,6 @@ int lyx::mkdir(string const & pathname, unsigned long int mode) { - return ::mkdir(pathname.c_str(), mode); + // FIXME: why don't we have mode_t in lyx::mkdir prototype ?? + return ::mkdir(pathname.c_str(), mode_t(mode)); }