From a8440c72e4e8e286f270269f130d9a29aba2419e Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sat, 25 Feb 2012 23:52:34 -0500 Subject: [PATCH] Fix build for gcc on mac. Hudson should use clang :D --- .../SPInvocationGrabbing/NSObject+SPInvocationGrabbing.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thirdparty/SPMediaKeyTap/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.m b/thirdparty/SPMediaKeyTap/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.m index ce3b9f48c..851ea0385 100644 --- a/thirdparty/SPMediaKeyTap/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.m +++ b/thirdparty/SPMediaKeyTap/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.m @@ -88,7 +88,8 @@ } -(void)printBacktrace; { - for(int x = 3; x < frameCount; x++) { + int x; + for(x = 3; x < frameCount; x++) { if(frameStrings[x] == NULL) { break; } printf("%s\n", frameStrings[x]); }