mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
No warnings from MSVC
This commit is contained in:
parent
19a730b78b
commit
bd26355516
@ -940,8 +940,8 @@ namespace chaiscript
|
|||||||
static std::string str_from_ll<std::string>(long long val)
|
static std::string str_from_ll<std::string>(long long val)
|
||||||
{
|
{
|
||||||
std::string::value_type c[2];
|
std::string::value_type c[2];
|
||||||
c[1] = val;
|
c[1] = std::string::value_type(val);
|
||||||
c[0] = val >> 8;
|
c[0] = std::string::value_type(val >> 8);
|
||||||
|
|
||||||
if (c[0] == 0)
|
if (c[0] == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user