Skip to content

Commit 15868f4

Browse files
committed
Warning fixes
1 parent 5f5f985 commit 15868f4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

gfx/drivers/metal.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4300,7 +4300,7 @@ - (void)drawWithEncoder:(id<MTLRenderCommandEncoder>)rce
43004300

43014301
- (void)drawWithContext:(Context *)ctx
43024302
{
4303-
int i;
4303+
size_t i;
43044304
_texture = _engine.frame.texture[0].view;
43054305

43064306
if ( (_format != RPixelFormatBGRA8Unorm)
@@ -4938,7 +4938,7 @@ - (bool)loadImages:(const struct texture_image *)images count:(NSUInteger)count
49384938

49394939
- (void)drawWithEncoder:(id<MTLRenderCommandEncoder>)rce
49404940
{
4941-
int i;
4941+
size_t i;
49424942
NSUInteger count;
49434943
#if !defined(HAVE_COCOATOUCH)
49444944
if (_vertDirty)

ui/drivers/ui_cocoa.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ - (void)dealloc
681681

682682
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
683683
{
684-
unsigned i;
684+
int i;
685685
apple_platform = self;
686686
[self.window setAcceptsMouseMovedEvents: YES];
687687

0 commit comments

Comments
 (0)