diff options
author | ritsuka <[email protected]> | 2013-10-25 18:21:54 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2013-10-25 18:21:54 +0000 |
commit | ef19311ee492b85995da5446d75e2cc0fdb40549 (patch) | |
tree | bd28a616c62f9a9c2eaa5d56f52795279ebf0adc /macosx/HBOutputRedirect.m | |
parent | 32a56184a88817091950a94335dbf1036677eaf1 (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.m | 3 |
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; |