From 7e7ae6dbb5579c2e163d87ff7bcc774de459b96b Mon Sep 17 00:00:00 2001 From: iod1hc Date: Thu, 12 Nov 2020 15:59:53 +0700 Subject: tests: fix conversion warnings - Casting data type to the right format. Signed-off-by: Dinh Cong Toan --- src/tests/dlt-test-stress-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/dlt-test-stress-user.c') diff --git a/src/tests/dlt-test-stress-user.c b/src/tests/dlt-test-stress-user.c index 3dc5925..0a01d54 100644 --- a/src/tests/dlt-test-stress-user.c +++ b/src/tests/dlt-test-stress-user.c @@ -233,7 +233,7 @@ int testall(int count, int repeat, int delay, int size) struct timespec ts; for (num = 0; num < size; num++) - buffer[num] = num; + buffer[num] = (char) num; /* Test All: Test all start */ /*printf("Test1: Test all\n"); */ -- cgit v1.2.1