Update of /cvsroot/alsa/alsa-kernel/core/oss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10864/core/oss
Modified Files: pcm_plugin.c Log Message: sync with 2.6 kernel - gcc-2.5 fixes Index: pcm_plugin.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/oss/pcm_plugin.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- pcm_plugin.c 16 Sep 2003 16:34:48 -0000 1.17 +++ pcm_plugin.c 5 Feb 2004 15:38:42 -0000 1.18 @@ -857,11 +857,14 @@ silence = snd_pcm_format_silence_64(format); if (dst_area->step == (unsigned int) width) { size_t dwords = samples * width / 64; + u_int64_t *dst64 = (u_int64_t *)dst; + samples -= dwords * 64 / width; while (dwords-- > 0) - *((u_int64_t*)dst)++ = silence; + *dst64++ = silence; if (samples == 0) return 0; + dst = (char *)dst64; } dst_step = dst_area->step / 8; switch (width) { ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog