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

Avoid MSVC secure, and one more un/signed warning.

This commit is contained in:
Rene Rivera
2020-02-25 10:28:38 -06:00
parent 88361336a7
commit 391939c93b
2 changed files with 5 additions and 3 deletions

View File

@@ -191,8 +191,8 @@ void string_unit_test()
{
{
string s[ 1 ];
unsigned int i;
int const limit = sizeof( s->opt ) * 2 + 2;
unsigned long i;
unsigned long const limit = sizeof( s->opt ) * 2 + 2;
string_new( s );
assert( s->value == s->opt );
for ( i = 0; i < limit; ++i )