X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fpython%2Fgfx.c;h=0af8b656439216802f9fd3eae1aaac223f73de54;hp=f15c1f2789de138a988f6377a4267d39c3972dc6;hb=9ed9a87914fc9a590967d46de404e0f6290b7bb2;hpb=6c8f037f0f76ce4b28b80a2133e4150d93012ef7 diff --git a/lib/python/gfx.c b/lib/python/gfx.c index f15c1f2..0af8b65 100644 --- a/lib/python/gfx.c +++ b/lib/python/gfx.c @@ -76,7 +76,7 @@ static char* strf(char*format, ...) va_end(arglist); return strdup(buf); } -#define PY_ERROR(s,args...) (PyErr_SetString(PyExc_Exception, strf(s, ## args)),(PyObject*)NULL) +#define PY_ERROR(s,args...) (PyErr_SetString(PyExc_Exception, strf(s, ## args)),(void*)NULL) #define PY_NONE Py_BuildValue("s", 0) //--------------------------------------------------------------------- @@ -158,8 +158,9 @@ static gfxline_t*toLine(PyObject*_line) gfxline_t*last=&first; for(t=0;t