Corrected return value to be of correct type.
This commit is contained in:
parent
adce8bf505
commit
5cdb605a41
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ static SDL_bool LocalReferenceHolder_Init(struct LocalReferenceHolder *refholder
|
|||
const int capacity = 16;
|
||||
if ((*env)->PushLocalFrame(env, capacity) < 0) {
|
||||
SDL_SetError("Failed to allocate enough JVM local references");
|
||||
return false;
|
||||
return SDL_FALSE;
|
||||
}
|
||||
++s_active;
|
||||
refholder->m_env = env;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue