MSVC build fix by MiikaH for NAVMESH. Thanks! :)
authorThomas Dinges <blender@dingto.org>
Sat, 10 Sep 2011 09:06:42 +0000 (09:06 +0000)
committerThomas Dinges <blender@dingto.org>
Sat, 10 Sep 2011 09:06:42 +0000 (09:06 +0000)
source/blender/editors/util/navmesh_conversion.cpp

index 255e3387ab230c2f5ee3218306c48d520c79ddc4..aebd9624bc751813040b31388932b728c8804c9c 100644 (file)
@@ -279,7 +279,7 @@ struct SortContext
        const int* trisToFacesMap;
 };
 #if defined(_MSC_VER)
        const int* trisToFacesMap;
 };
 #if defined(_MSC_VER)
-static int compareByData(const void* data, void * a, void * b)
+static int compareByData(void* data, const void * a, const void * b)
 #else
 static int compareByData(const void * a, const void * b, void* data)
 #endif
 #else
 static int compareByData(const void * a, const void * b, void* data)
 #endif