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:
parent
38cdc7bcc1
commit
6b32de4d9f
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue