mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 395678 - Fix const issues with strchr in C++ (when used in mozilla-central), r=mrbkap, a=brendan
This commit is contained in:
parent
f8f06a232d
commit
138a327eb5
@ -290,7 +290,8 @@ num_toLocaleString(JSContext *cx, uintN argc, jsval *vp)
|
||||
JSRuntime *rt;
|
||||
JSString *numStr, *str;
|
||||
const char *num, *end, *tmpSrc;
|
||||
char *buf, *dec, *tmpDest;
|
||||
char *buf, *tmpDest;
|
||||
const char *dec;
|
||||
int digits, size, remainder, nrepeat;
|
||||
|
||||
/*
|
||||
|
@ -4956,7 +4956,7 @@ js_PutEscapedStringImpl(char *buffer, size_t bufferSize, FILE *fp,
|
||||
{
|
||||
jschar *chars, *charsEnd;
|
||||
size_t n;
|
||||
char *escape;
|
||||
const char *escape;
|
||||
char c;
|
||||
uintN u, hex, shift;
|
||||
enum {
|
||||
|
Loading…
Reference in New Issue
Block a user