{AC21.4R21.5] Fix native linux sound on 64-bit linux

Stephen J. Turnbull stephen at xemacs.org
Fri Jun 22 13:48:12 EDT 2007


APPROVE COMMIT 21.5 RECOMMEND 21.4

Vin, you should check what got committed to 21.4.  21.5 needed a bit
more tweaking, as the variables being stored into need to be size_t on
amd64.  This may be needed for 21.4 too.

Vin Shelton writes:

 > APPROVE COMMIT 21.4 RECOMMEND 21.5

 > Hans,

 > Thank you for the patch.  I've applied it to 21.4 and will apply it
 > soon to 21.5.

Index: src/ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.1072
diff -u -r1.1072 ChangeLog
--- src/ChangeLog	22 Jun 2007 17:26:20 -0000	1.1072
+++ src/ChangeLog	22 Jun 2007 17:32:18 -0000
@@ -0,0 +1,5 @@
+2007-06-23  Stephen J. Turnbull  <stephen at xemacs.org>
+
+	* linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
+	a typo fix.
+

Index: src/linuxplay.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/linuxplay.c,v
retrieving revision 1.21
diff -u -r1.21 linuxplay.c
--- src/linuxplay.c	19 May 2007 17:21:30 -0000	1.21
+++ src/linuxplay.c	22 Jun 2007 17:32:18 -0000
@@ -275,8 +275,9 @@
   fmtType        ffmt;
   int            fmt,speed,tracks;
   void           *pptr, *optr, *cptr, *sptr;
-  int            wrtn,rrtn,crtn,prtn;
-  Binbyte         sndbuf[SNDBUFSZ];
+  int            wrtn, crtn;
+  size_t         prtn, rrtn;
+  Binbyte        sndbuf[SNDBUFSZ];
 
   /* We need to read at least the header information before we can start
      doing anything */



More information about the XEmacs-Patches mailing list