diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-05 19:31:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-05 19:31:55 +0400 |
commit | 556b57febf9191210474678537322e86f3ef8cd9 (patch) | |
tree | 9bcb13af3da57c4279e90b0ef3ea3756953e7b9a /source/gameengine/VideoTexture/ImageBase.cpp | |
parent | 2403214cb474fe71c0fd9b42a6c0155c8159b7b3 (diff) |
get rid of some warnings,
removed NG_LoopBackNetworkDeviceInterface::GetNetworkVersion(), wasnt used anywhere.
Diffstat (limited to 'source/gameengine/VideoTexture/ImageBase.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/ImageBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/ImageBase.cpp b/source/gameengine/VideoTexture/ImageBase.cpp index 31c634b1511..8fe460befa4 100644 --- a/source/gameengine/VideoTexture/ImageBase.cpp +++ b/source/gameengine/VideoTexture/ImageBase.cpp @@ -676,7 +676,7 @@ error: // Return a empty buffer to avoid a crash in Python 3.1 // The bug is fixed in Python SVN 77916, as soon as the python revision used by Blender is // updated, you can simply return -1 and set the error - static char* buf = ""; + static char* buf = (char *)""; ret = PyBuffer_FillInfo(view, (PyObject*)self, buf, 0, 0, flags); if (ret >= 0) self->m_image->m_exports++; |