Commit a673ad77 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx: Fix compilation. (NSUInteger) is 10.5 api change ???

parent 2051d328
......@@ -41,7 +41,7 @@
@implementation VLCEmbeddedWindow
- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation
- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation
{
BOOL useTextured = YES;
if([[NSWindow class] instancesRespondToSelector:@selector(setContentBorderThickness:forEdge:)])
......@@ -49,12 +49,12 @@
useTextured = NO;
windowStyle ^= NSTexturedBackgroundWindowMask;
}
self = [super initWithContentRect:contentRect styleMask:windowStyle backing:bufferingType defer:deferCreation];
self = [super initWithContentRect:contentRect styleMask:windowStyle backing:bufferingType defer:deferCreation];
if(!useTextured)
{
[self setContentBorderThickness:32.0 forEdge:NSMinYEdge];
}
return self;
return self;
}
- (void)awakeFromNib
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment