Group :: Sciences/Other
RPM: pd
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: pd-0.42-6-big_endian.patch
Download
Download
Author: Paul Brossier <piem@piem.org>
Description: fix FTBFS on BIG_ENDIAN machines
diff --git a/src/s_audio_alsa.c b/src/s_audio_alsa.c
index a5034c8..bc694b0 100644
--- a/src/s_audio_alsa.c
+++ b/src/s_audio_alsa.c
@@ -469,7 +469,7 @@ int alsa_send_dacs(void)
((char *)(alsa_snd_buf))[3*j+1] = ((s>>8) & 255);
((char *)(alsa_snd_buf))[3*j+2] = ((s>>16) & 255);
#else
- fprintf(stderr("big endian 24-bit not supported");
+ fprintf(stderr,"big endian 24-bit not supported");
#endif
}
for (; i < thisdevchans; i++, ch++)
@@ -581,7 +581,7 @@ int alsa_send_dacs(void)
* (1./ INT32_MAX);
}
#else
- fprintf(stderr("big endian 24-bit not supported");
+ fprintf(stderr,"big endian 24-bit not supported");
#endif
}
else