HomeFreeBSD

bhyve: Address compiler warnings in audio.c

Description

bhyve: Address compiler warnings in audio.c

  • Avoid arithmetic on void pointers.
  • Avoid a signed/unsigned comparison in loops which write or fill audio data buffers.

Convert while loops to for loops while here.

(cherry picked from commit ee83710bc492c0b2e7d66dd61f45fa657a14d169)

Details

Provenance
markjAuthored on Sep 8 2022, 10:48 PM
Parents
rG16d4c1de7b40: cam: Provide compatibility for CAMGETPASSTHRU for periph drivers
Branches
Unknown
Tags
Unknown