[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-411-g02dc4a1

Jeremy Allison jra at samba.org
Thu Sep 17 12:28:42 MDT 2009


The branch, master has been updated
       via  02dc4a1e4ef195c4a003336839a2cd9639623d8c (commit)
      from  b92c399d97d1b0a1242489f4af0bdfb79906ee29 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 02dc4a1e4ef195c4a003336839a2cd9639623d8c
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Sep 17 11:27:51 2009 -0700

    Ensure we enclose the enum values in brackets to make the cast work.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 pidl/lib/Parse/Pidl/Samba4/Header.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/pidl/lib/Parse/Pidl/Samba4/Header.pm b/pidl/lib/Parse/Pidl/Samba4/Header.pm
index bb497bb..be1df4b 100644
--- a/pidl/lib/Parse/Pidl/Samba4/Header.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/Header.pm
@@ -128,7 +128,9 @@ sub HeaderEnum($$;$)
 			if (@enum_els == 2) {
 				pidl $enum_els[0];
 				pidl "=(int)";
+				pidl "(";
 				pidl $enum_els[1];
+				pidl ")";
 			} else {
 				pidl $e;
 			}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list