r5017: Fix bug in output typemap for uint32 (!)
authorTim Potter <tpot@samba.org>
Wed, 26 Jan 2005 20:41:58 +0000 (20:41 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:14 +0000 (13:09 -0500)
(This used to be commit dc845154ca1738f4c3959a1799cbbd6ce65b7d02)

source4/scripting/swig/samba.i

index 9d732077056297eb992b07f05a6c4334a9166da5..a989a468b9c8ae89359a482f951b265ff4229132 100644 (file)
@@ -33,7 +33,7 @@
 }
 
 %typemap(out) uint32 {
-       $1 = PyLong_FromLong($input);
+       $result = PyLong_FromLong($1);
 }
 
 %typemap(out) NTSTATUS {