diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-04 12:21:27 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-04 12:21:27 +0300 |
commit | 6eb3bf53dd753d4b00f0f76f9f7739aecb9af2f8 (patch) | |
tree | cd46ea1bc1c70778a4d1ac4bb94896287b28588c /source/gameengine/VideoTexture/Texture.cpp | |
parent | ca80578e4ee67280764aeaf4f562afe2bbc7519c (diff) |
VideoTexture: Bug report #17946: add (char*) casting to fix compile error with Python get-set method and module object.
Diffstat (limited to 'source/gameengine/VideoTexture/Texture.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/Texture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/VideoTexture/Texture.cpp b/source/gameengine/VideoTexture/Texture.cpp index ceda39aeff4..e922bbd768d 100644 --- a/source/gameengine/VideoTexture/Texture.cpp +++ b/source/gameengine/VideoTexture/Texture.cpp @@ -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} }; |