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:
authorRay Molenkamp <github@lazydodo.com>2020-10-02 20:47:44 +0300
committerRay Molenkamp <github@lazydodo.com>2020-10-02 20:47:44 +0300
commit6b32de4d9fde0bb7d6d257f43a34ece2d56c8ad8 (patch)
treeeee25884603147bdb500ba1047ae2223ce88ef2b
parent38cdc7bcc1f2ac7e89578be079e4be0b049a4036 (diff)
Cleanup: Fix build error on windows
int and eContextResult are different types to MSVC leading to a function signature mismatch.
-rw-r--r--source/blender/editors/screen/screen_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_context.c b/source/blender/editors/screen/screen_context.c
index 07a571ae464..74621b917c6 100644
--- a/source/blender/editors/screen/screen_context.c
+++ b/source/blender/editors/screen/screen_context.c
@@ -987,7 +987,7 @@ static eContextResult screen_ctx_active_editable_fcurve(const bContext *C,
/* Registry of context callback functions. */
-typedef int (*context_callback)(const bContext *C, bContextDataResult *result);
+typedef eContextResult (*context_callback)(const bContext *C, bContextDataResult *result);
static GHash *ed_screen_context_functions = NULL;
static void free_context_function_ghash(void *UNUSED(user_data))