Make the debug subsystem unsigned.
It was already unsigned in sudoers but not in the front-end or the python plugin. Making this consistent resolves a lot of -Wconversion warnings. Also clean up some other -Wconversion warnings in sudo_debug.c.
This commit is contained in:
@@ -94,9 +94,10 @@ void py_object_set_attr_string(PyObject *py_object, const char *attr_name, const
|
||||
PyObject *py_create_version(unsigned int version);
|
||||
|
||||
void py_debug_python_call(const char *class_name, const char *function_name,
|
||||
PyObject *py_args, PyObject *py_kwargs, int subsystem_id);
|
||||
PyObject *py_args, PyObject *py_kwargs,
|
||||
unsigned int subsystem_id);
|
||||
void py_debug_python_result(const char *class_name, const char *function_name,
|
||||
PyObject *py_args, int subsystem_id);
|
||||
PyObject *py_args, unsigned int subsystem_id);
|
||||
|
||||
void str_array_free(char ***array);
|
||||
|
||||
|
Reference in New Issue
Block a user