Revision: 18813
http://vice-emu.svn.sourceforge.net/vice-emu/?rev=18813&view=rev
Author: blackystardust
Date: 2008-05-27 22:55:36 -0700 (Tue, 27 May 2008)
Log Message:
-----------
Fixed some solaris warnings/issues
Modified Paths:
--------------
branches/marco/ports/vice/src/sounddrv/soundsun.c
Modified: branches/marco/ports/vice/src/sounddrv/soundsun.c
===================================================================
--- branches/marco/ports/vice/src/sounddrv/soundsun.c 2008-05-25 23:18:21 UTC (rev 18812)
+++ branches/marco/ports/vice/src/sounddrv/soundsun.c 2008-05-28 05:55:36 UTC (rev 18813)
@@ -155,7 +155,7 @@
static int sun_write(SWORD *pbuf, size_t nr)
{
- int total, i, now;
+ unsigned int total, i, now;
if (sun_8bit)
{
/* XXX: ugly to change contents of the buffer */
@@ -183,7 +183,10 @@
static int sun_bufferspace(void)
{
- int st, size;
+ int st;
+#if defined(__NetBSD__)
+ int size;
+#endif
struct audio_info info;
/* ioctl(fd, AUDIO_GET_STATUS, &info) yields number of played samples
in info.play.samples. */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|