Changes to support Vodafone K4606
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Fork of VodafoneUSBModem by
Diff: ussd/USSDInterface.cpp
- Revision:
- 35:be311326ee06
- Parent:
- 29:870de7db2ccb
- Child:
- 59:593fb493172f
--- a/ussd/USSDInterface.cpp Fri Sep 14 10:15:02 2012 +0000 +++ b/ussd/USSDInterface.cpp Fri Sep 14 15:11:06 2012 +0000 @@ -178,7 +178,7 @@ return; } size_t cpyLen = MIN( pEnd - pStart, m_maxResultLength - 1 ); - memcpy(m_result, pStart, cpyLen); + memcpy((void*)m_result, pStart, cpyLen); m_result[cpyLen] = '\0'; DBG("Got USSD response: %s", m_result); m_responseMtx.unlock();