diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-05 15:57:59 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-05 17:48:13 +0100 |
commit | c8b9679e4091b7dc78c4288aa868f5ec923fb843 (patch) | |
tree | 4d55abd9a5cc0fd4b7c5a3f0e6c6dee595ad5b24 | |
parent | ba0042fcdb028688768184d0831a9f6afb8f7269 (diff) | |
download | samba-c8b9679e4091b7dc78c4288aa868f5ec923fb843.tar.gz samba-c8b9679e4091b7dc78c4288aa868f5ec923fb843.tar.bz2 samba-c8b9679e4091b7dc78c4288aa868f5ec923fb843.zip |
s4:pyauth: fix compiler warnings
metze
-rw-r--r-- | source4/auth/pyauth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/pyauth.h b/source4/auth/pyauth.h index de1c1c54ea..f5c63392ac 100644 --- a/source4/auth/pyauth.h +++ b/source4/auth/pyauth.h @@ -24,7 +24,7 @@ #include "auth/session.h" PyAPI_DATA(PyTypeObject) PyAuthSession; -#define PyAuthSession_AsSession(obj) py_talloc_get_ptr(obj) +#define PyAuthSession_AsSession(obj) py_talloc_get_type(obj, struct auth_session_info) #define PyAuthSession_Check(obj) PyObject_TypeCheck(obj, &PyAuthSession) struct auth_session_info *PyObject_AsSession(PyObject *obj); PyObject *PyAuthSession_FromSession(struct auth_session_info *session); |