From e6bd96b9c436d14d053b669ff6115b53925f8946 Mon Sep 17 00:00:00 2001 From: "mattwillis%gmail.com" Date: Fri, 7 Jan 2005 20:52:04 +0000 Subject: [PATCH] Fixed compile on Windows with gcc r=shaver git-svn-id: svn://10.0.0.236/trunk@167398 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/storage/src/mozStorageStatementWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/storage/src/mozStorageStatementWrapper.cpp b/mozilla/storage/src/mozStorageStatementWrapper.cpp index de96387f614..8d1fe7d1d2a 100644 --- a/mozilla/storage/src/mozStorageStatementWrapper.cpp +++ b/mozilla/storage/src/mozStorageStatementWrapper.cpp @@ -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);