Addressing msvc-specific compilation issues.
This commit is contained in:
1 parent
509447b4d5
commit
82b82fd487
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -6429,7 +6429,7 @@ class basic_json
|
|||||||
|
|
||||||
while(x and i < s_capacity)
|
while(x and i < s_capacity)
|
||||||
{
|
{
|
||||||
m_buf[i++] = '0' + abs(x % 10);
|
m_buf[i++] = static_cast<char>('0' + std::labs(x % 10));
|
||||||
x /= 10;
|
x /= 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -6429,7 +6429,7 @@ class basic_json
|
|||||||
|
|
||||||
while(x and i < s_capacity)
|
while(x and i < s_capacity)
|
||||||
{
|
{
|
||||||
m_buf[i++] = '0' + abs(x % 10);
|
m_buf[i++] = static_cast<char>('0' + std::labs(x % 10));
|
||||||
x /= 10;
|
x /= 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user