From 556b57febf9191210474678537322e86f3ef8cd9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 5 Jun 2010 15:31:55 +0000 Subject: get rid of some warnings, removed NG_LoopBackNetworkDeviceInterface::GetNetworkVersion(), wasnt used anywhere. --- source/gameengine/VideoTexture/ImageBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/VideoTexture/ImageBase.cpp') 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++; -- cgit v1.2.3