changeset 4030:5bc9d592760f

[xemacs-hg @ 2007-06-22 17:39:04 by stephent] More 64-bit tweaking for linuxplay crash. <18044.2908.520538.490158@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Fri, 22 Jun 2007 17:39:07 +0000
parents 5bb998bf84bd
children 0cc7794d231e
files src/ChangeLog src/linuxplay.c
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Jun 22 17:26:22 2007 +0000
+++ b/src/ChangeLog	Fri Jun 22 17:39:07 2007 +0000
@@ -1,3 +1,8 @@
+2007-06-23  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
+	a typo fix.
+
 2007-06-23  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* sysdep.h (environ): Needs to be in C_DECLS for C++ build.
--- a/src/linuxplay.c	Fri Jun 22 17:26:22 2007 +0000
+++ b/src/linuxplay.c	Fri Jun 22 17:39:07 2007 +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 */