summaryrefslogtreecommitdiff
path: root/source4/lib/ejs/var.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-12 05:54:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:08 -0500
commit9570e24df1397f31dbd7c8436928749da9fc378c (patch)
treef8e0503ee1b0a8a7ff1e31061fe6c11fe3d88eb4 /source4/lib/ejs/var.c
parent9f86e202865807ed898eff684d7cf3be7daae0fc (diff)
downloadsamba-9570e24df1397f31dbd7c8436928749da9fc378c.tar.gz
samba-9570e24df1397f31dbd7c8436928749da9fc378c.tar.bz2
samba-9570e24df1397f31dbd7c8436928749da9fc378c.zip
r8341: enable floating point support in ejs
(This used to be commit bdc6b67eb27cc3da6d5144bbb71096741f779aba)
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);