summaryrefslogtreecommitdiffstats
path: root/macosx/HBOutputRedirect.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2013-10-25 18:21:54 +0000
committerritsuka <[email protected]>2013-10-25 18:21:54 +0000
commitef19311ee492b85995da5446d75e2cc0fdb40549 (patch)
treebd28a616c62f9a9c2eaa5d56f52795279ebf0adc /macosx/HBOutputRedirect.m
parent32a56184a88817091950a94335dbf1036677eaf1 (diff)
MacGUI: Varius warnings fixes:
- NSUInteger and NSInteger instead of int (where the Cocoa 64bit api uses them). - Cast to int when needed because NSInteger on 64bit is defined as long. - NSURL instead of NSString when possible. - Replaced some deprecated methods/functions. - numberWithInteger instead of numberWithInt. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5854 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBOutputRedirect.m')
-rw-r--r--macosx/HBOutputRedirect.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/macosx/HBOutputRedirect.m b/macosx/HBOutputRedirect.m
index 1b9a39727..f1ff10e58 100644
--- a/macosx/HBOutputRedirect.m
+++ b/macosx/HBOutputRedirect.m
@@ -13,6 +13,9 @@ static HBOutputRedirect *g_stdoutRedirect = nil;
/// Global pointer to HBOutputRedirect object that manages redirects for stderr.
static HBOutputRedirect *g_stderrRedirect = nil;
+static int stdoutwrite(void *inFD, const char *buffer, int size);
+static int stderrwrite(void *inFD, const char *buffer, int size);
+
@interface HBOutputRedirect (Private)
- (id)initWithStream:(FILE *)aStream selector:(SEL)aSelector;
- (void)startRedirect;