Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2020-02-03 23:26:15 +0300
committerJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2020-02-03 23:26:15 +0300
commitad71477183635a9fcd9f7d65d1a9b84ef4360997 (patch)
treea19bf26bc9afa0fdbd8476091f534f2ae4c8d6d1 /tests/string_span_tests.cpp
parentc31593dd0df8badff394ca81b2344f353774728e (diff)
fix build breaks
Diffstat (limited to 'tests/string_span_tests.cpp')
-rw-r--r--tests/string_span_tests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/string_span_tests.cpp b/tests/string_span_tests.cpp
index e501bba..dd5a0de 100644
--- a/tests/string_span_tests.cpp
+++ b/tests/string_span_tests.cpp
@@ -84,7 +84,7 @@ czstring_span<> CreateTempName(string_span<> span)
{
Expects(span.size() > 1);
- int last = 0;
+ std::size_t last = 0;
if (span.size() > 4) {
span[0] = 't';
span[1] = 'm';
@@ -101,7 +101,7 @@ cwzstring_span<> CreateTempNameW(wstring_span<> span)
{
Expects(span.size() > 1);
- int last = 0;
+ std::size_t last = 0;
if (span.size() > 4) {
span[0] = L't';
span[1] = L'm';
@@ -118,7 +118,7 @@ cu16zstring_span<> CreateTempNameU16(u16string_span<> span)
{
Expects(span.size() > 1);
- int last = 0;
+ std::size_t last = 0;
if (span.size() > 4) {
span[0] = u't';
span[1] = u'm';
@@ -135,7 +135,7 @@ cu32zstring_span<> CreateTempNameU32(u32string_span<> span)
{
Expects(span.size() > 1);
- int last = 0;
+ std::size_t last = 0;
if (span.size() > 4) {
span[0] = U't';
span[1] = U'm';