Skip to content

Commit dd5aa70

Browse files
committed
change to use std types
1 parent 759c95d commit dd5aa70

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/OptionTypeTest.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,8 @@ TEST_CASE_METHOD(TApp, "VectorIndexedValidator", "[optiontype]") {
406406
}
407407

408408
TEST_CASE_METHOD(TApp, "IntegerOverFlowShort", "[optiontype]") {
409-
short A;
410-
unsigned short B;
409+
std::int16_t A;
410+
std::uint16_t B;
411411

412412
app.add_option("-a", A);
413413
app.add_option("-b", B);
@@ -446,8 +446,8 @@ TEST_CASE_METHOD(TApp, "IntegerOverFlowInt", "[optiontype]") {
446446
}
447447

448448
TEST_CASE_METHOD(TApp, "IntegerOverFlowLong", "[optiontype]") {
449-
long A;
450-
unsigned long B;
449+
std::int32_t A;
450+
std::uint32_t B;
451451

452452
app.add_option("-a", A);
453453
app.add_option("-b", B);
@@ -466,8 +466,8 @@ TEST_CASE_METHOD(TApp, "IntegerOverFlowLong", "[optiontype]") {
466466
}
467467

468468
TEST_CASE_METHOD(TApp, "IntegerOverFlowLongLong", "[optiontype]") {
469-
long long A;
470-
unsigned long long B;
469+
std::int64_t A;
470+
std::uint64_t B;
471471

472472
app.add_option("-a", A);
473473
app.add_option("-b", B);

0 commit comments

Comments
 (0)