Cleanup: Fix build error on windows

int and eContextResult are different types to MSVC
leading to a function signature mismatch.
This commit is contained in:
Ray molenkamp 2020-10-02 11:47:44 -06:00
parent 38cdc7bcc1
commit 6b32de4d9f
1 changed files with 1 additions and 1 deletions

View File

@ -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))