summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-20 21:25:00 +0100
committerVolker Lendecke <vl@samba.org>2007-12-21 09:58:20 +0100
commiteeb92cedde4bc45603be4fdcf2f53dd2cc29f1d0 (patch)
treebfb670b94eea02ccdf56ef8f70dc0cf24cc6bcc3
parentdea7d2223d0d7e5db44cb8df7bf8d6b2ad1eb91f (diff)
downloadsamba-eeb92cedde4bc45603be4fdcf2f53dd2cc29f1d0.tar.gz
samba-eeb92cedde4bc45603be4fdcf2f53dd2cc29f1d0.tar.bz2
samba-eeb92cedde4bc45603be4fdcf2f53dd2cc29f1d0.zip
Fix a C++ warning
(This used to be commit c31c7e3e24875ce75bc18f0ad7529320eab8e50a)
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 4eb8a1ce65..5b009fc964 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3473,7 +3473,7 @@ static bool process_registry_globals(bool (*pfunc)(const char *, const char *))
if (size && data_p) {
err = registry_pull_value(reg_tdb,
&value,
- type,
+ (enum winreg_Type)type,
data_p,
size,
size);