2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00

Corrected a 'dropping qualifiers' compiler warning displayed when compiling Boost Jam's fileunix.c module using the intel compiler.

[SVN r80260]
This commit is contained in:
Jurko Gospodnetić
2012-08-27 11:41:15 +00:00
parent f31fadaf3c
commit 321b4c2839

View File

@@ -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 );
}