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.
Fork of VodafoneUSBModem by
Diff: ussd/USSDInterface.cpp
- Revision:
- 35:be311326ee06
- Parent:
- 29:870de7db2ccb
- Child:
- 59:593fb493172f
diff -r b53c619b036d -r be311326ee06 ussd/USSDInterface.cpp
--- 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();
