VideoTexture: Bug report #17946: add (char*) casting to fix compile error with Python get-set method and module object.

This commit is contained in:
2008-11-04 09:21:27 +00:00
parent ca80578e4e
commit 6eb3bf53dd
11 changed files with 50 additions and 50 deletions

View File

@@ -412,8 +412,8 @@ static PyMethodDef textureMethods[] =
// class Texture attributes
static PyGetSetDef textureGetSets[] =
{
{"source", (getter)Texture_getSource, (setter)Texture_setSource, "source of texture", NULL},
{"mipmap", (getter)Texture_getMipmap, (setter)Texture_setMipmap, "mipmap texture", NULL},
{(char*)"source", (getter)Texture_getSource, (setter)Texture_setSource, (char*)"source of texture", NULL},
{(char*)"mipmap", (getter)Texture_getMipmap, (setter)Texture_setMipmap, (char*)"mipmap texture", NULL},
{NULL}
};