* Copyright 2001-2004 David Abrahams.
* Copyright 2005 Rene Rivera.
* Distributed under the Boost Software License, Version 1.0.
- * (See accompanying file LICENSE_1_0.txt or copy at
- * http://www.boost.org/LICENSE_1_0.txt)
+ * (See accompanying file LICENSE.txt or copy at
+ * https://www.bfgroup.xyz/b2/LICENSE.txt)
*/
/*
string pathspec[ 1 ];
string pathname[ 1 ];
LIST * files = L0;
- int d_length;
+ int32_t d_length;
assert( d );
assert( d->is_dir );
assert( list_empty( d->files ) );
- d_length = strlen( object_str( d->name ) );
+ d_length = int32_t(strlen( object_str( d->name ) ));
memset( (char *)&f, '\0', sizeof( f ) );
f.f_dir.ptr = object_str( d->name );
OBJECT * pathname_obj;
f.f_base.ptr = finfo.cFileName;
- f.f_base.len = strlen( finfo.cFileName );
+ f.f_base.len = int32_t(strlen( finfo.cFileName ));
string_truncate( pathname, 0 );
path_build( &f, pathname );
if ( ( dir = strrchr( pathstr, '\\' ) ) )
{
- parent = object_new_range( pathstr, dir - pathstr );
+ parent = object_new_range( pathstr, int32_t(dir - pathstr) );
}
else
{