Skip to content

Commit 8f5e272

Browse files
remove pointless cast
1 parent 64f9358 commit 8f5e272

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)