diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-05-23 08:19:40 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-05-23 08:19:40 +0200 |
commit | d7a28bb2f8a0c87f1ccdfd96d96a56634ea94a57 (patch) | |
tree | a0e3a2961f063fe30151aeccde93b0bd5598c83a | |
parent | 2d017b8e1380e44d27f772f54cb45ea62d919b88 (diff) |
TS host: dpu_prepare_xfer does not need a cast to const
-rw-r--r-- | TS/host/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TS/host/app.c b/TS/host/app.c index 1bd0547..cb19c4b 100644 --- a/TS/host/app.c +++ b/TS/host/app.c @@ -251,7 +251,7 @@ int main(int argc, char **argv) } uint32_t i = 0; DPU_FOREACH(dpu_set, dpu, i) { - DPU_ASSERT(dpu_prepare_xfer(dpu, (const void *)&input_arguments)); + DPU_ASSERT(dpu_prepare_xfer(dpu, &input_arguments)); } DPU_ASSERT(dpu_push_xfer(dpu_set, DPU_XFER_TO_DPU, "DPU_INPUT_ARGUMENTS", 0, sizeof(input_arguments), DPU_XFER_DEFAULT)); |