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.
Dependents: iothub_client_sample_amqp remote_monitoring simplesample_amqp
Diff: frame_codec.c
- Revision:
- 23:1111ee8bcba4
- Parent:
- 22:524bded3f7a8
- Child:
- 25:1101516ee67d
diff -r 524bded3f7a8 -r 1111ee8bcba4 frame_codec.c
--- a/frame_codec.c Thu Apr 06 14:11:27 2017 -0700
+++ b/frame_codec.c Fri Apr 21 14:50:32 2017 -0700
@@ -85,7 +85,7 @@
}
else
{
- result = malloc(sizeof(FRAME_CODEC_INSTANCE));
+ result = (FRAME_CODEC_INSTANCE*)malloc(sizeof(FRAME_CODEC_INSTANCE));
/* Codes_SRS_FRAME_CODEC_01_022: [If allocating memory for the frame_codec instance fails, frame_codec_create shall return NULL.] */
if (result == NULL)
{
