[vlc-devel] commit: macosx: Fix compilation. (NSUInteger) is 10.5 api change ??? ( Derk-Jan Hartman )
git version control
git at videolan.org
Sat Aug 23 23:26:57 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sat Aug 23 23:29:51 2008 +0200| [a673ad77028bf87d1ff0f936fa959f6d816882b1] | committer: Derk-Jan Hartman
macosx: Fix compilation. (NSUInteger) is 10.5 api change ???
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a673ad77028bf87d1ff0f936fa959f6d816882b1
---
modules/gui/macosx/embeddedwindow.m | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/macosx/embeddedwindow.m b/modules/gui/macosx/embeddedwindow.m
index 8b3a5c2..7559d87 100644
--- a/modules/gui/macosx/embeddedwindow.m
+++ b/modules/gui/macosx/embeddedwindow.m
@@ -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
More information about the vlc-devel
mailing list