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

RIOT support: Added cast to debug message #390

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

fzi-haxel
Copy link
Contributor

Contribution description

Minor change to fix compiler warning.

contlen is of type size_t. Depending on the platform, this may have a different size than unsigned int. According to the RIOT encoding conventions, size_t variables should be converted to unsigned in printouts if possible, since %zu' is not supported by newlib-nano`.

Minor change to fix compiler warning.

`contlen` is of type `size_t`. Depending on the platform, this may have a different size than `unsigned int`.
According to RIOT encoding conventions, `size_t` variables should be converted to `unsigned` in printouts if possible, since `%zu' is not supported by `newlib-nano`.
@OlegHahm OlegHahm merged commit 0aa974b into cn-uofbasel:master Dec 5, 2023
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

Successfully merging this pull request may close these issues.

2 participants