diff options
author | Kent Mein <mein@cs.umn.edu> | 2005-01-03 21:05:24 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2005-01-03 21:05:24 +0300 |
commit | 48bc598658ef6b58d58be07aaf6d66220f8034c9 (patch) | |
tree | 1426160e7188feefb5b257faa23777ff3a098b3c /source/blender | |
parent | 8055b5c24745a653d03023368198363a4ab15ef2 (diff) |
More warning cleanups...
added a casts to:
blender/blenlib/intern/BLI_memarena.c
gameengine/Rasterizer/RAS_TexVert.cpp
Removed unused vars from:
blender/python/api2_2x/vector.c
gameengine/Ketsji/KX_PyMath.cpp gameengine/Ketsji/KX_Scene.cpp
gameengine/Physics/Sumo/Fuzzics/src/SM_Object.cpp
gameengine/Rasterizer/RAS_FramingManager.cpp
gameengine/Rasterizer/RAS_Polygon.cpp
gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.cpp
Kent
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/intern/BLI_memarena.c | 2 | ||||
-rw-r--r-- | source/blender/python/api2_2x/vector.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_memarena.c b/source/blender/blenlib/intern/BLI_memarena.c index 218fdb3c45b..39f36c88ff6 100644 --- a/source/blender/blenlib/intern/BLI_memarena.c +++ b/source/blender/blenlib/intern/BLI_memarena.c @@ -55,7 +55,7 @@ MemArena *BLI_memarena_new(int bufsize) { return ma; } void BLI_memarena_free(MemArena *ma) { - BLI_linklist_free(ma->bufs, MEM_freeN); + BLI_linklist_free(ma->bufs, (void(*)(void*)) MEM_freeN); MEM_freeN(ma); } diff --git a/source/blender/python/api2_2x/vector.c b/source/blender/python/api2_2x/vector.c index ba527352786..d7b2f8c8f74 100644 --- a/source/blender/python/api2_2x/vector.c +++ b/source/blender/python/api2_2x/vector.c @@ -707,7 +707,6 @@ PyObject *newVectorObject( float *vec, int size ) PyObject *newVectorProxy( float *vec, int size) { VectorObject *proxy; - int x; proxy = PyObject_NEW( VectorObject, &vector_Type ); |