From 321b4c2839c781b73fe7bdf4697c613e0de5eb56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Mon, 27 Aug 2012 11:41:15 +0000 Subject: [PATCH] Corrected a 'dropping qualifiers' compiler warning displayed when compiling Boost Jam's fileunix.c module using the intel compiler. [SVN r80260] --- src/engine/fileunix.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/engine/fileunix.c b/src/engine/fileunix.c index 1ac471b9b..184654321 100644 --- a/src/engine/fileunix.c +++ b/src/engine/fileunix.c @@ -169,7 +169,10 @@ void file_dirscan_( file_info_t * const d, scanback func, void * closure ) int file_mkdir( char const * const path ) { - return mkdir( path, 0777 ); + /* Explicit cast to remove const modifiers and avoid related compiler + * warnings displayed when using the intel compiler. + */ + return mkdir( (char *)path, 0777 ); }