git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
py3: Remove #define PyInt_AsLong PyLong_AsLong
[samba.git]
/
source4
/
librpc
/
rpc
/
pyrpc.c
diff --git
a/source4/librpc/rpc/pyrpc.c
b/source4/librpc/rpc/pyrpc.c
index 33841ae0f119777bc755a0b2511f596919f40e32..be914ed5f14be3402acf0645a936bbf4b72e0381 100644
(file)
--- a/
source4/librpc/rpc/pyrpc.c
+++ b/
source4/librpc/rpc/pyrpc.c
@@
-78,7
+78,7
@@
static bool ndr_syntax_from_py_object(PyObject *object, struct ndr_syntax_id *sy
return false;
}
- syntax_id->if_version = Py
Int
_AsLong(item);
+ syntax_id->if_version = Py
Long
_AsLong(item);
return true;
}