Skip to content

Commit 704e088

Browse files
committed
[MERGE #5682 @duongnhn] fixes #5681 avoid c2440 error lose const qualifier
Merge pull request #5682 from duongnhn:user/duongn/c2440-lose-const-qualifier When /Zc:strictStrings is enable, encounter this error https://msdn.microsoft.com/en-us/library/dn449508.aspx since we cast literal string to non-const char pointer.
2 parents b45b70b + 08bcab4 commit 704e088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/NativeTests/BigUIntTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ namespace BigUIntTest
226226
TEST_CASE("Init_From_Char_Of_Digits", "[BigUIntTest]")
227227
{
228228
BigUInt biDec;
229-
char *charDigit;
229+
const char *charDigit;
230230
bool result;
231231
int charDigitLength;
232232

0 commit comments

Comments
 (0)