From d420036cbca6ef8aebafef7957ab9df795586fe3 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 11 Aug 2023 01:32:27 +0800 Subject: [PATCH] testing/drivertest: Fix typo error in drivertest_uart.c Made by: commit 5659906fdfdac0a363aecb329c39c936324dcc55 Author: Gregory Nutt Date: Fri Mar 24 12:02:04 2023 -0600 Changes to apps needed by nutts PR 8885 needby:965551 ostest contains some logic that depends on internal implementation of signal sets and ostest must be updated to match those changes. There is no particular impact from this PR. This PR is the result of impact from nuttx 8885. Tested with nuttx 8885 Change-Id: I2550888ee29aadcfcf8a98bfe5690920ee2b17d1 Signed-off-by: Xiang Xiao --- testing/drivertest/drivertest_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/drivertest/drivertest_uart.c b/testing/drivertest/drivertest_uart.c index e7f5ba0a0..91b6a0d97 100644 --- a/testing/drivertest/drivertest_uart.c +++ b/testing/drivertest/drivertest_uart.c @@ -216,7 +216,7 @@ static void write_default(FAR void **state) static void read_default(FAR void **state) { FAR struct test_state_s *test_state = (FAR struct test_state_s *)*state; - sigset_t buffer_size = sizeof(DEFAULT_CONTENT); + size_t buffer_size = sizeof(DEFAULT_CONTENT); int cnt = 0; FAR char *buffer = test_state->buffer; assert_true(buffer != NULL);