summaryrefslogtreecommitdiff
path: root/source4/scripting/swig/samba.i
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-01-26 20:41:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:14 -0500
commitb10b7a360a4bbed8fc7654d9f7c70625a48f3513 (patch)
tree555764cc709ae460facda0794e5be0dcd4bac398 /source4/scripting/swig/samba.i
parent5e679708899b1da6a705c5263d8c3aa5c66d95a0 (diff)
downloadsamba-b10b7a360a4bbed8fc7654d9f7c70625a48f3513.tar.gz
samba-b10b7a360a4bbed8fc7654d9f7c70625a48f3513.tar.bz2
samba-b10b7a360a4bbed8fc7654d9f7c70625a48f3513.zip
r5017: Fix bug in output typemap for uint32 (!)
(This used to be commit dc845154ca1738f4c3959a1799cbbd6ce65b7d02)
Diffstat (limited to 'source4/scripting/swig/samba.i')
-rw-r--r--source4/scripting/swig/samba.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/swig/samba.i b/source4/scripting/swig/samba.i
index 9d73207705..a989a468b9 100644
--- a/source4/scripting/swig/samba.i
+++ b/source4/scripting/swig/samba.i
@@ -33,7 +33,7 @@
}
%typemap(out) uint32 {
- $1 = PyLong_FromLong($input);
+ $result = PyLong_FromLong($1);
}
%typemap(out) NTSTATUS {