From 05004a91d8d00482c2452f8744a03173c6a927d4 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Tue, 22 Dec 2009 14:39:11 +0000 Subject: [PATCH] fix linux build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16016 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .../mod_spidermonkey_core_db/mod_spidermonkey_core_db.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/languages/mod_spidermonkey_core_db/mod_spidermonkey_core_db.c b/src/mod/languages/mod_spidermonkey_core_db/mod_spidermonkey_core_db.c index 2d9530b8b7..6eeb90519d 100644 --- a/src/mod/languages/mod_spidermonkey_core_db/mod_spidermonkey_core_db.c +++ b/src/mod/languages/mod_spidermonkey_core_db/mod_spidermonkey_core_db.c @@ -312,7 +312,7 @@ static JSBool db_bind_text(JSContext * cx, JSObject * obj, uintN argc, jsval * a /* convert args */ - status = JS_ValueToECMAUint32(cx, argv[0], &(uint32)param_index); + status = JS_ValueToECMAUint32(cx, argv[0], (uint32_t*)¶m_index); switch_assert(status == JS_TRUE); param_value = JS_GetStringBytes(JS_ValueToString(cx, argv[1])); if ((param_index < 1) || (NULL == param_value)) { @@ -356,9 +356,9 @@ static JSBool db_bind_int(JSContext * cx, JSObject * obj, uintN argc, jsval * ar } /* convert args */ - status = JS_ValueToECMAUint32(cx, argv[0], &(uint32)param_index); + status = JS_ValueToECMAUint32(cx, argv[0], (uint32_t*)¶m_index); switch_assert(status == JS_TRUE); - status = JS_ValueToECMAUint32(cx, argv[1], &(uint32)param_value); + status = JS_ValueToECMAUint32(cx, argv[1], (uint32_t*)¶m_value); switch_assert(status == JS_TRUE); if (param_index < 1) {