Commit 9c0f9e62 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

tests: footprints: Avoid boolean promotion to int



Explicitly returning int instead of promoting a boolean.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 844843ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ static inline int z_vrfy_validation_overhead_syscall(void)

	bool status_1 = Z_SYSCALL_OBJ(&test_sema, K_OBJ_SEM);

	return status_0 || status_1;
	return (status_0 || status_1) ? 1 : 0;
}
#include <syscalls/validation_overhead_syscall_mrsh.c>