mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Fixed compile on Windows with gcc
r=shaver
This commit is contained in:
parent
533df7b812
commit
446a80de3d
@ -104,7 +104,7 @@ JSValStorageStatementBinder (JSContext *cx,
|
||||
aStatement->BindDoubleParameter(aParamIndex, d);
|
||||
} else if (JSVAL_IS_STRING(val)) {
|
||||
JSString *str = JSVAL_TO_STRING(val);
|
||||
aStatement->BindWStringParameter(aParamIndex, NS_STATIC_CAST(PRUnichar*, JS_GetStringChars(str)));
|
||||
aStatement->BindWStringParameter(aParamIndex, NS_REINTERPRET_CAST(PRUnichar*, JS_GetStringChars(str)));
|
||||
} else if (JSVAL_IS_BOOLEAN(val)) {
|
||||
if (val == JSVAL_TRUE) {
|
||||
aStatement->BindInt32Parameter(aParamIndex, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user