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:
beard%netscape.com
2000-05-19 05:38:29 +00:00
parent 555f842351
commit e92366c650
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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: