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.

MFC after: 2 weeks

Details

Provenance
markjAuthored on Sep 8 2022, 10:48 PM
Parents
rG57d96d8df991: bhyve: Address -Wno-unused warnings in atkbd.c
Branches
Unknown
Tags
Unknown