Skip to content

Commit 5fc847c

Browse files
txy-21xiaoxiang781216
authored andcommitted
test:clean driver_audio_test (void *) cast
Signed-off-by: tengshuangshuang <[email protected]>
1 parent 8405caf commit 5fc847c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/drivertest/drivertest_audio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ static int audio_test_setup(FAR void **audio_state)
740740
attr.mq_flags = 0;
741741

742742
snprintf(state->mqname, sizeof(state->mqname), "/tmp/%p",
743-
((void *)state));
743+
state);
744744

745745
state->mq = mq_open(state->mqname, O_RDWR | O_CREAT, 0644, &attr);
746746
assert_false(state->mq < 0);

0 commit comments

Comments
 (0)