summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {