mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
lib/crypto: squash 'cast between incompatible function types' warning
To avoid warning above produced by using -Wcast-function-type we; + ensure PyCFunctions of type METH_VARARGS do not declare unused and problematic kargs param. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
70a140646e
commit
16cf1d1a53
@ -23,7 +23,7 @@
|
||||
#include "python/py3compat.h"
|
||||
#include "lib/crypto/arcfour.h"
|
||||
|
||||
static PyObject *py_crypto_arcfour_crypt_blob(PyObject *module, PyObject *args, PyObject *kwargs)
|
||||
static PyObject *py_crypto_arcfour_crypt_blob(PyObject *module, PyObject *args)
|
||||
{
|
||||
DATA_BLOB data, key;
|
||||
PyObject *py_data, *py_key, *result;
|
||||
|
Loading…
Reference in New Issue
Block a user