Fix compiler warnings

This commit is contained in:
Charlie Fenton 2013-11-18 17:21:13 -08:00
parent 969fbd7ded
commit 525e3e7459
2 changed files with 1 additions and 2 deletions

View File

@ -58,7 +58,6 @@ class CScrolledTextBox : public wxScrolledWindow
void OnOutputLine(const wxString& line);
wxBoxSizer* m_TextSizer;
int m_iAvailableHeight;
bool m_eol;
wxString m_text;
int m_hLine;

View File

@ -96,7 +96,7 @@ GetMACAddress(io_iterator_t intfIterator, char* buffer)
kern_return_t kernResult = KERN_FAILURE;
char delimiter[2] = "\0";
while (intfService = IOIteratorNext(intfIterator))
while ((intfService = IOIteratorNext(intfIterator)))
{
CFTypeRef MACAddressAsCFData;
// IONetworkControllers can't be found directly by the IOServiceGetMatchingServices call,