Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nrf_rpc: fix build error for C++ #1514

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 10, 2024

  1. nrf_rpc: fix build error for C++

    In C++, conversion from a function pointer to void* is
    either undefined (prior to C++11) or not implicit.
    
    Replace the cast from a function pointer to (void*) with
    a cast to (uintptr_t) to fix build errors when including
    nrf_rpc.h in C++ applications.
    
    Signed-off-by: Damian Krolik <[email protected]>
    Damian-Nordic committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    a57d365 View commit details
    Browse the repository at this point in the history