Fixed compile on Windows with gcc
r=shaver git-svn-id: svn://10.0.0.236/trunk@167398 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user