changeset 1460:8e1b50599848

cdefer: Got rid of compiler warning.
author Marcel Keller <mkeller@cs.au.dk>
date Mon, 26 Jul 2010 21:14:12 +0200
parents 18429fdf5339
children 76bb2998b190
files viff/cdefer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/viff/cdefer.c	Mon Jul 26 21:11:12 2010 +0200
+++ b/viff/cdefer.c	Mon Jul 26 21:14:12 2010 +0200
@@ -275,7 +275,7 @@
 
 static PyObject* cdefer_Deferred___str__(cdefer_Deferred *self) {
     PyObject *result, *tmp;
-    char* cname = Py_TYPE(self)->tp_name;
+    const char* cname = Py_TYPE(self)->tp_name;
 
     if (self->result) {
 	tmp = PyObject_Repr(self->result);