ref: 170a13ec952d11ae6e2c390b58200739d73508a8
parent: f8940b5046f91d736b82dd9da1b0fc4b395545b5
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Jan 25 20:54:20 EST 2024
trackdecoder: set f as FILE since ferror() is a macro on OpenBSD
--- a/snd_openal.c
+++ b/snd_openal.c
@@ -711,13 +711,15 @@
}
static void *
-trackdecoder(void *f)
+trackdecoder(void *f_)
{
byte b[65536];
ssize_t n;
fpos_t off;
int left;
+ FILE *f;
+ f = f_;
if(fgetpos(f, &off) == 0){
left = track.len;
for(;;){