Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Dependents: VodafoneUSBModemHTTPClientTest VodafoneUSBModemNTPClientTest VodafoneUSBModemSMSTest VodafoneUSBModemUSSDTest ... more
Fork of VodafoneUSBModem_bleedingedge 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();
    
 Vodafone K3770 3G Modem
            Vodafone K3770 3G Modem