|
@@ -1239,9 +1239,9 @@ namespace Chromium {
|
|
|
{
|
|
|
if (it->mType == "int")
|
|
|
{
|
|
|
- unsigned int d = 0;
|
|
|
- GetCJsonIntergerValue(js, it->mName.c_str(), d, errmsg);
|
|
|
- WriteT(data, d, wpos, capacity);
|
|
|
+ unsigned int d_int = 0;
|
|
|
+ GetCJsonIntergerValue(js, it->mName.c_str(), d_int, errmsg);
|
|
|
+ WriteT(data, d_int, wpos, capacity);
|
|
|
}
|
|
|
else if (it->mType == "bool")
|
|
|
{
|
|
@@ -1303,10 +1303,10 @@ namespace Chromium {
|
|
|
}
|
|
|
else if (it->mType == "string")
|
|
|
{
|
|
|
- CSimpleStringA d = "";
|
|
|
- GetCJsonObjectValue(js, it->mName.c_str(), d, errmsg);
|
|
|
+ CSimpleStringA d_str = "";
|
|
|
+ GetCJsonObjectValue(js, it->mName.c_str(), d_str, errmsg);
|
|
|
//DbgEx("GeneralSerialize string %s -> %s", it->mName.c_str(), d);
|
|
|
- WriteT(data, d, wpos, capacity);
|
|
|
+ WriteT(data, d_str, wpos, capacity);
|
|
|
}
|
|
|
else if (it->mType == "wstring")
|
|
|
{
|