diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-27 12:38:15 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-27 12:38:15 +0300 |
commit | e76ce369bb45f1134b45982ec3ac0a108c9ccf44 (patch) | |
tree | 073f830bd379bdc75e910dc7b4fd27403d211a74 /source/blender/editors/space_buttons/buttons_context.c | |
parent | 1c1659eb286b369ffe6ba99207c42611159f24bb (diff) |
Compiler warning fixes for mingw:
* There's an unresolved error in transform_conversions.c which I've flagged in this commit. I'm not quite sure what the exact intentions of that code were (i.e. was the "void_pointer = 1" really intended)
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_context.c')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 8100bf38995..a503aefe751 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -666,7 +666,7 @@ int buttons_context(const bContext *C, const char *member, bContextDataResult *r return 1; } else if(CTX_data_equals(member, "particle_system_editable")) { - if(PE_poll(C)) + if(PE_poll((bContext*)C)) set_pointer_type(path, result, &RNA_ParticleSystem); else CTX_data_pointer_set(result, NULL, &RNA_ParticleSystem, NULL); |