Fixed compile on Windows with gcc

r=shaver
This commit is contained in:
mattwillis%gmail.com 2005-01-07 20:52:04 +00:00
parent 533df7b812
commit 446a80de3d

View File

@ -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);