fix const cast away linux breakage
git-svn-id: svn://10.0.0.236/trunk@70506 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -170,7 +170,7 @@ JSValue JSValue::toPrimitive(ECMA_type hint) const
|
||||
|
||||
JSValue JSValue::valueToString(const JSValue& value) // can assume value is not a string
|
||||
{
|
||||
char *chrp;
|
||||
const char* chrp;
|
||||
char buf[dtosStandardBufferSize];
|
||||
switch (value.tag) {
|
||||
case i32_tag:
|
||||
|
||||
@@ -170,7 +170,7 @@ JSValue JSValue::toPrimitive(ECMA_type hint) const
|
||||
|
||||
JSValue JSValue::valueToString(const JSValue& value) // can assume value is not a string
|
||||
{
|
||||
char *chrp;
|
||||
const char* chrp;
|
||||
char buf[dtosStandardBufferSize];
|
||||
switch (value.tag) {
|
||||
case i32_tag:
|
||||
|
||||
Reference in New Issue
Block a user