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

drivers: wifi: eswifi: fix casts for 64 bit pointers #80243

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

Commits on Oct 22, 2024

  1. drivers: wifi: eswifi: fix casts for 64 bit pointers

    The eswifi driver uses an integer to identify the socket used for each
    connection, which must be cast to and from a `void *`. This causes
    warnings on 64 bit platforms, as precision is lost when casting from a
    `void *` to `int`. Use a `intptr_t` type to store the socket value to
    resolve this warning. Also, fix a function signature for the `accept_cb`
    to use `size_t` instead of `int` for the length
    
    Fixes zephyrproject-rtos#80242
    
    Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
    danieldegrasse committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    8d59874 View commit details
    Browse the repository at this point in the history