summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-01-19 10:17:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:00 -0500
commit72785f13cd983c6950435cf962d7db8cb2a7b030 (patch)
treefa9305126bbfaf1c9c502e5b405d0525fe1e8297
parentd04e3bcca657aef9d91b495eb0b1c431e1794084 (diff)
downloadsamba-72785f13cd983c6950435cf962d7db8cb2a7b030.tar.gz
samba-72785f13cd983c6950435cf962d7db8cb2a7b030.tar.bz2
samba-72785f13cd983c6950435cf962d7db8cb2a7b030.zip
r4841: Handle levels that are signed integer types.
(This used to be commit 40d49d6279431bf1af343e3eb22038ef9d8b39e6)
-rw-r--r--source4/build/pidl/eparser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/eparser.pm b/source4/build/pidl/eparser.pm
index 1c7a06571f..f2a39eecbb 100644
--- a/source4/build/pidl/eparser.pm
+++ b/source4/build/pidl/eparser.pm
@@ -627,7 +627,7 @@ sub RewriteC($$$)
# Fix some internal variable declarations
- s/uint(16|32) _level;/uint$1_t _level;/smg;
+ s/(u?)int(8|16|32) _level;/$1int$2_t _level;/smg;
s/ndr_pull_([^\(]*)\(ndr,\ tree,\ hf_level,\ &_level\);
/ndr_pull_$1(ndr, tree, hf_level_$1, &_level);/smgx;