From b10b7a360a4bbed8fc7654d9f7c70625a48f3513 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 26 Jan 2005 20:41:58 +0000 Subject: r5017: Fix bug in output typemap for uint32 (!) (This used to be commit dc845154ca1738f4c3959a1799cbbd6ce65b7d02) --- source4/scripting/swig/samba.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit