From 979e30b838e65c04507db573fa80e32126d45765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Tue, 14 Nov 2006 16:26:16 +0000 Subject: [PATCH] support::chmod does not take a mode_t as mode parameter git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15918 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mover.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mover.C b/src/mover.C index a88cca859d..e354762d2c 100644 --- a/src/mover.C +++ b/src/mover.C @@ -55,7 +55,7 @@ bool SpecialisedMover::do_copy(string const & from, string const & to, if (!ofs) return false; ofs.close(); - if (!support::chmod(to.c_str(), mode_t(mode))) + if (!support::chmod(to.c_str(), mode)) return false; }