Skip to content

Commit 120f0e9

Browse files
paul-szczepanek-armadbridge
authored andcommitted
remove pointless cast
1 parent 3f2b888 commit 120f0e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/SimpleEventQueue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct SimpleEventQueue : pal::EventQueue {
7474
if (_ble_base == NULL) {
7575
return false;
7676
}
77-
uint8_t* event_buf = (uint8_t*)WsfBufAlloc(sizeof(EventNode));
77+
void* event_buf = WsfBufAlloc(sizeof(EventNode));
7878
if (event_buf == NULL) {
7979
error("\r\n%s:%d Cordio WsfBufAlloc out of memory\r\n", __FILE__, __LINE__);
8080
return false;

0 commit comments

Comments
 (0)