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

64/32 bit compile working by using int32 types as needed.

This commit is contained in:
René Ferdinand Rivera Morell
2020-09-09 09:46:08 -05:00
parent 210cef7ae2
commit 84666e77fa
40 changed files with 590 additions and 603 deletions

View File

@@ -74,12 +74,12 @@ void argv_from_shell( char const * * argv, LIST * shell, char const * command,
/* Returns whether the given command string contains lines longer than the given
* maximum.
*/
int check_cmd_for_too_long_lines( char const * command, size_t max,
size_t * const error_length, size_t * const error_max_length )
int check_cmd_for_too_long_lines( char const * command, int32_t max,
int32_t * const error_length, int32_t * const error_max_length )
{
while ( *command )
{
size_t const l = strcspn( command, "\n" );
int32_t const l = int32_t(strcspn( command, "\n" ));
if ( l > max )
{
*error_length = l;