git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd1bf09
)
fixed compiler warnings
author
kramm
<kramm>
Wed, 12 Dec 2007 10:58:42 +0000
(10:58 +0000)
committer
kramm
<kramm>
Wed, 12 Dec 2007 10:58:42 +0000
(10:58 +0000)
lib/python/tags.c
patch
|
blob
|
history
diff --git
a/lib/python/tags.c
b/lib/python/tags.c
index
3683673
..
0ff6b32
100644
(file)
--- a/
lib/python/tags.c
+++ b/
lib/python/tags.c
@@
-186,7
+186,7
@@
static PyObject* po_create(PyObject* self, PyObject* args, PyObject* kwargs,char
po->depth = depth;
po->clipdepth = clipdepth;
po->ratio = ratio;
po->depth = depth;
po->clipdepth = clipdepth;
po->ratio = ratio;
- po->name = name;
+ po->name = (unsigned char*)name;
po->move = move;
if(clipdepth) po->clipdepth = clipdepth;
if(matrix) po->matrix = matrix_getMatrix(matrix);
po->move = move;
if(clipdepth) po->clipdepth = clipdepth;
if(matrix) po->matrix = matrix_getMatrix(matrix);
@@
-637,7
+637,7
@@
static PyObject* image_save(PyObject*self, PyObject*args)
if(!PyArg_ParseTuple(args, "s", &filename))
return NULL;
if(!PyArg_ParseTuple(args, "s", &filename))
return NULL;
- writePNG(filename, fi->rgba ,fi->width, fi->height);
+ writePNG(filename, (unsigned char*)fi->rgba ,fi->width, fi->height);
return PY_NONE;
}
return PY_NONE;
}