summaryrefslogtreecommitdiff
path: root/source4/lib/appweb
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2006-10-02 02:39:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:29 -0500
commita9a532aa0c8529ecadb788dddaeccc3bd4c41687 (patch)
treee5d2ff422a84b1e03a1624a262a58b03fd5bbade /source4/lib/appweb
parentdeca12d7be900dbf86065867840ae5500a398ae2 (diff)
downloadsamba-a9a532aa0c8529ecadb788dddaeccc3bd4c41687.tar.gz
samba-a9a532aa0c8529ecadb788dddaeccc3bd4c41687.tar.bz2
samba-a9a532aa0c8529ecadb788dddaeccc3bd4c41687.zip
r19022: eliminate a warning
(This used to be commit d48b2d83057b8e78e3ed31f56578e18ef9b9aed6)
Diffstat (limited to 'source4/lib/appweb')
-rw-r--r--source4/lib/appweb/mpr/var.c2
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;