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

Default to stricter warning flags in CMakeLists.txt #9456

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added cast in test_suite_platform.function
Signed-off-by: Sam Berry <sam.berry@arm.com>
  • Loading branch information
sezrab committed Aug 9, 2024
commit 91fa58f934296fb2f4d7c977409c0d2cf766a467
2 changes: 1 addition & 1 deletion tests/suites/test_suite_platform.function
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void check_mbedtls_calloc_overallocation(intmax_t num, intmax_t size)
unsigned char *buf;
buf = mbedtls_calloc((size_t) num, (size_t) size);
/* Dummy usage of the pointer to prevent optimizing it */
mbedtls_printf("calloc pointer : %p\n", buf);
mbedtls_printf("calloc pointer : %p\n", (void *) buf);
TEST_ASSERT(buf == NULL);

exit:
Expand Down