1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

Fix warnings.

(This used to be commit 88013ca977)
This commit is contained in:
Jelmer Vernooij
2008-04-15 12:15:43 +02:00
parent 961f412190
commit 1a8bfba545
3 changed files with 6 additions and 4 deletions

View File

@ -27,7 +27,7 @@ static PyObject *uuid_random(PyObject *self, PyObject *args)
PyObject *pyobj;
char *str;
if (!PyArg_ParseTuple(args, (char *)""))
if (!PyArg_ParseTuple(args, ""))
return NULL;
guid = GUID_random();
@ -52,7 +52,7 @@ static PyMethodDef methods[] = {
void inituuid(void)
{
PyObject *mod = Py_InitModule3((char *)"uuid", methods, "UUID helper routines");
PyObject *mod = Py_InitModule3("uuid", methods, "UUID helper routines");
if (mod == NULL)
return;
}