Skip to content

Commit 625110a

Browse files
[[ Mac64 ]] Fix the return types of the init/dealloc messages in RevBrowser
The 64-bit compiler is stricter about these due to sign/zero extensions issues.
1 parent 0af5129 commit 625110a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

revbrowser/src/osxbrowser.mm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ @interface WebBrowserAdapter : NSObject
8585
DOMHTMLElement *m_previous_element;
8686
}
8787

88-
- init;
89-
- dealloc;
88+
- (id)init;
89+
- (void)dealloc;
9090

9191
- (void)setBrowser: (TAltBrowser *)inBrowser;
9292
- (HIObjectRef)hiobject;
@@ -95,7 +95,7 @@ - (void)webView:(WebView *)sender runJavaScriptAlertPanelWithMessage:(NSString *
9595

9696
@implementation WebBrowserAdapter
9797

98-
- init
98+
- (id)init
9999
{
100100
self = [super init];
101101
if ( self )
@@ -105,7 +105,7 @@ @implementation WebBrowserAdapter
105105
return self;
106106
}
107107

108-
- dealloc
108+
- (void)dealloc
109109
{
110110
if (m_previous_element != NULL)
111111
[m_previous_element release];

0 commit comments

Comments
 (0)