diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-10-02 20:47:44 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-10-02 20:47:44 +0300 |
commit | 6b32de4d9fde0bb7d6d257f43a34ece2d56c8ad8 (patch) | |
tree | eee25884603147bdb500ba1047ae2223ce88ef2b /source/blender/editors/screen/screen_context.c | |
parent | 38cdc7bcc1f2ac7e89578be079e4be0b049a4036 (diff) |
Cleanup: Fix build error on windows
int and eContextResult are different types to MSVC
leading to a function signature mismatch.
Diffstat (limited to 'source/blender/editors/screen/screen_context.c')
-rw-r--r-- | source/blender/editors/screen/screen_context.c | 2 |
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)) |