Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-04-18 01:14:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-18 01:14:55 +0400
commitbe0b8ccfaaa98118468c8fec971792ab1123eaca (patch)
treec5a0f24fe547de8b411298bbe8df9cdc12b4a530 /source/blender/src/buttons_editing.c
parent45dee507aaaa159e5b0bda1f6fc81a928f78e17b (diff)
Used GET_INT_FROM_POINTER to get rid of many warnings that only occurred with 64bit os's
Also use Py_ssize_t which we might need to define for older python's
Diffstat (limited to 'source/blender/src/buttons_editing.c')
-rw-r--r--source/blender/src/buttons_editing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c
index 4eb8ce6c367..15080041721 100644
--- a/source/blender/src/buttons_editing.c
+++ b/source/blender/src/buttons_editing.c
@@ -4950,7 +4950,7 @@ static void verify_vertexgroup_name_func(void *datav, void *data2_unused)
static void skgen_reorder(void *option, void *arg2)
{
char tmp;
- switch ((int)option)
+ switch (GET_INT_FROM_POINTER(option))
{
case 0:
tmp = G.scene->toolsettings->skgen_subdivisions[0];