summaryrefslogtreecommitdiff
path: root/source4/lib/ejs/var.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ejs/var.c')
-rw-r--r--source4/lib/ejs/var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ejs/var.c b/source4/lib/ejs/var.c
index 843d2ff738..7cbf8a0b7f 100644
--- a/source4/lib/ejs/var.c
+++ b/source4/lib/ejs/var.c
@@ -1843,7 +1843,7 @@ bool mprVarToBool(const MprVar *vp)
* Convert the variable to a floating point number. Only for primitive types.
*/
-double mprVarToFloat(MprVar *vp)
+double mprVarToFloat(const MprVar *vp)
{
mprAssert(vp);