Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > e21460f2675648c3124fec120938498e > files > 1

pd-0.42.6-2.mga2.src.rpm

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