Skip to content

Type conversion error from sample code.... again #2

@ghost

Description

In the following wiki page, the function 'dessert_sysrxcb_add' is passed a function pointer where the second argument is passed with type "size_t," where the library expects "uint32_t". Stddef defines size_t as 'int' rather than 'uint32_t.' You must define callback functions with the second argument as uint32_t.

http://www.des-testbed.net/libdessert/doc/1.07/group__ExampleDaemon.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions