Skip to content

RIOT support: Added cast to debug message#390

Merged
OlegHahm merged 1 commit intocn-uofbasel:masterfrom
fzi-haxel:riot-debug-print-fix
Dec 5, 2023
Merged

RIOT support: Added cast to debug message#390
OlegHahm merged 1 commit intocn-uofbasel:masterfrom
fzi-haxel:riot-debug-print-fix

Conversation

@fzi-haxel
Copy link
Copy Markdown
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