diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-15 12:15:43 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-15 12:15:43 +0200 |
commit | 1a8bfba5452f7b72d9f0b2a178f7e8a66557c463 (patch) | |
tree | 0b36b5c84858fcb7c3ebf72a41ee8fb041921fbd /source4/scripting | |
parent | 961f412190a97c1de82b4ee3a51db10f43ce14c8 (diff) | |
download | samba-1a8bfba5452f7b72d9f0b2a178f7e8a66557c463.tar.gz samba-1a8bfba5452f7b72d9f0b2a178f7e8a66557c463.tar.bz2 samba-1a8bfba5452f7b72d9f0b2a178f7e8a66557c463.zip |
Fix warnings.
(This used to be commit 88013ca9775a6ff5e5a393f9d8238dbcd197f26f)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/uuidmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/uuidmodule.c b/source4/scripting/python/uuidmodule.c index cd9a1cb4d5..18cfb6ce32 100644 --- a/source4/scripting/python/uuidmodule.c +++ b/source4/scripting/python/uuidmodule.c @@ -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; } |