[vlc-commits] macosx: fix crash by dis-ambiguating var names

Andrey Utkin git at videolan.org
Wed Apr 18 18:20:23 CEST 2012


vlc | branch: master | Andrey Utkin <andrey.krieger.utkin at gmail.com> | Wed Apr 18 18:04:50 2012 +0300| [92a7099bbfb97cfaa444da748ef871e71add2108] | committer: Felix Paul Kühne

macosx: fix crash by dis-ambiguating var names

 .../macosx/framework/Sources/VLCEventManager.m     |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92a7099bbfb97cfaa444da748ef871e71add2108
---

 .../macosx/framework/Sources/VLCEventManager.m     |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCEventManager.m b/projects/macosx/framework/Sources/VLCEventManager.m
index 4239899..67fb490 100644
--- a/projects/macosx/framework/Sources/VLCEventManager.m
+++ b/projects/macosx/framework/Sources/VLCEventManager.m
@@ -227,9 +227,9 @@ static void * EventDispatcherMainLoop(void * user_data)
 
     if( [NSThread isMainThread] )
     {
-        NSData *message = [NSData dataWithBytes:&message length:sizeof(message_t)];
-        [self addMessageToHandleOnMainThread:message];
-        [self callDelegateOfObjectAndSendNotificationWithArgs:[message retain] /* released in the call */];
+        NSData *nsd_message = [NSData dataWithBytes:&message length:sizeof(message_t)];
+        [self addMessageToHandleOnMainThread:nsd_message];
+        [self callDelegateOfObjectAndSendNotificationWithArgs:[nsd_message retain] /* released in the call */];
     }
     else
     {



More information about the vlc-commits mailing list