diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-10 16:21:41 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-11 09:47:54 +0000 |
commit | bb241f5cf8424c2576d5bc33ac149e5720b82068 (patch) | |
tree | 9f9617267edb7cc5213f09c7a5847145dfbf6626 /lib | |
parent | f0367905d9a6db76712f1dcf9734f64fe5c5e1b3 (diff) | |
download | samba-bb241f5cf8424c2576d5bc33ac149e5720b82068.tar.gz samba-bb241f5cf8424c2576d5bc33ac149e5720b82068.tar.bz2 samba-bb241f5cf8424c2576d5bc33ac149e5720b82068.zip |
s4:pytevent.c - fix a discard const warning
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Nov 11 09:47:55 UTC 2010 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tevent/pytevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/pytevent.c b/lib/tevent/pytevent.c index 5999802346..22541bb624 100644 --- a/lib/tevent/pytevent.c +++ b/lib/tevent/pytevent.c @@ -629,7 +629,7 @@ static void py_tevent_context_dealloc(TeventContext_Object *self) static PyObject *py_tevent_context_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { - const char *kwnames[] = { "name", NULL }; + const char * const kwnames[] = { "name", NULL }; char *name = NULL; struct tevent_context *ev; TeventContext_Object *ret; |