Skip to content

Commit 3efce4c

Browse files
dcpleungstephanosio
authored andcommitted
Revert "tests: logging: log_api: Add cast to char array"
This reverts commit 265394e. The underlying cause is fixed so reverting this... Signed-off-by: Daniel Leung <[email protected]>
1 parent 73a940e commit 3efce4c

File tree

1 file changed

+1
-1
lines changed
  • tests/subsys/logging/log_api/src

1 file changed

+1
-1
lines changed

tests/subsys/logging/log_api/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ ZTEST(test_log_api, test_log_various_messages)
218218
CONFIG_LOG_DOMAIN_ID, LOG_LEVEL_ERR,
219219
exp_timestamp++, "err");
220220

221-
LOG_WRN("wrn %s", (char *)dstr);
221+
LOG_WRN("wrn %s", dstr);
222222
dstr[0] = '\0';
223223

224224
LOG_ERR("err");

0 commit comments

Comments
 (0)