Fix some tvOS warnings
This commit is contained in:
parent
a4836bbb17
commit
938c8f3abc
|
@ -186,9 +186,9 @@
|
|||
memcpy(dst, src, glyph->width);
|
||||
}
|
||||
|
||||
#if !defined(HAVE_COCOATOUCH)
|
||||
NSUInteger offset = glyph->atlas_offset_y;
|
||||
NSUInteger len = glyph->height * _stride;
|
||||
#if !defined(HAVE_COCOATOUCH)
|
||||
[_buffer didModifyRange:NSMakeRange(offset, len)];
|
||||
#endif
|
||||
|
||||
|
|
|
@ -300,7 +300,7 @@ static void apple_gamecontroller_joypad_connect(GCController *controller)
|
|||
}
|
||||
|
||||
apple_gamecontroller_joypad_register(controller.gamepad);
|
||||
mfi_joypad_autodetect_add(controller.playerIndex);
|
||||
mfi_joypad_autodetect_add((unsigned)controller.playerIndex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ void *file_list_get_actiondata_at_offset(const file_list_t *list,
|
|||
* or non-contiguous data there, make sure you free it's fields
|
||||
* before calling this function or you might get a memory leak.
|
||||
*
|
||||
* @param list
|
||||
* @param list List to be freed
|
||||
*/
|
||||
void file_list_free(file_list_t *list);
|
||||
|
||||
|
@ -80,8 +80,8 @@ bool file_list_initialize(file_list_t *list);
|
|||
* This function will not change the capacity if nitems is smaller
|
||||
* than the current capacity.
|
||||
*
|
||||
* @param list
|
||||
* @param nitems
|
||||
* @param list The list to open for input
|
||||
* @param nitems Number of items to reserve space for
|
||||
* @return whether or not the operation succeeded
|
||||
*/
|
||||
bool file_list_reserve(file_list_t *list, size_t nitems);
|
||||
|
|
Loading…
Reference in New Issue