]> git.lyx.org Git - features.git/commitdiff
correct format for unsigned long argument, remoteCloseLink is oneway void
authorStephan Witt <switt@lyx.org>
Sun, 14 Oct 2012 12:30:47 +0000 (14:30 +0200)
committerStephan Witt <switt@lyx.org>
Sun, 14 Oct 2012 12:30:47 +0000 (14:30 +0200)
src/support/linkback/LinkBack.m

index 26ba305bcc121a8dfb09a77f0e0072a60174c060..66febfac8edbaa581848bc39e3932191b2040f3e 100644 (file)
@@ -71,7 +71,7 @@ NSString* LinkBackUniqueItemKey()
        
        NSString* base = [[NSBundle mainBundle] bundleIdentifier] ;
        unsigned long time = [NSDate timeIntervalSinceReferenceDate] ;
-       return [NSString stringWithFormat: @"%@%.8x.%.4x",base,time,counter++] ;
+       return [NSString stringWithFormat: @"%@%.8lx.%.4x",base,time,counter++] ;
 }
 
 BOOL LinkBackDataBelongsToActiveApplication(id data) 
@@ -313,7 +313,7 @@ NSMutableDictionary* keyedLinkBacks = nil ;
 }
 
 // this method is called whenever the link is about to be or has been closed by the other side.
-- (void)remoteCloseLink 
+- (oneway void)remoteCloseLink 
 {
        if (peer) {
                [peer release] ;