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

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

Open
ghost opened this issue Jun 11, 2013 · 0 comments
Open

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

ghost opened this issue Jun 11, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 11, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants