planetbeing/xpwn — pull request #6 by Neal (2013-07-08 14:28:46+00:00)
Title: Fix OS X compile errors

Prior to commit 0c8986ed15ae95706bdfb5140fae205b76df12c6, compiling on OS X would fail with error:

pwnmetheus2/AppleMobileDevice.h:56:33: error: extra qualification on member 'AddDevicesForPID'
static void AppleMobileDevice::AddDevicesForPID(SInt32 usbPID);
~~~~~~~~~~~~~~~~~~~^

Commit 0c8986ed15ae95706bdfb5140fae205b76df12c6 removes the extra qualification on member 'AddDevicesForPID' which fixes the error.

----

Commit 2c0f33abc71ed3edb6aeb932484192058ca24173 fixes the following warning and error:

pwnmetheus2/AppleMobileDevice.cpp:185:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while(usbDevice = IOIteratorNext(anIterator))
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pwnmetheus2/AppleMobileDevice.cpp:482:34: error: called object type 'int' is not a function or function pointer
if(this->Mode() = kRecoveryMode())
~~~~~~~~~~~~~^