diff options
Diffstat (limited to 'source4/lib/appweb/mpr/var.c')
-rw-r--r-- | source4/lib/appweb/mpr/var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/appweb/mpr/var.c b/source4/lib/appweb/mpr/var.c index 11ac712065..e73da773ea 100644 --- a/source4/lib/appweb/mpr/var.c +++ b/source4/lib/appweb/mpr/var.c @@ -1363,7 +1363,7 @@ MprVar mprCreateStringVar(const char *value, bool allocate) memset(&v, 0x0, sizeof(v)); v.type = MPR_TYPE_STRING; if (value == 0) { - v.string = ""; + v.string = (char*) ""; } else if (allocate) { v.string = mprStrdup(value); v.allocatedData = 1; |