getting rid of some warnings

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1354 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2004-04-07 04:39:17 +00:00
parent e4cc9a00a3
commit d58db919b2
2 changed files with 6 additions and 4 deletions
@@ -96,7 +96,8 @@ typedef struct VINFO {
static SWORD **Samples;
static VINFO *vinf=NULL,*vnf;
static long tickleft,samplesthatfit,vc_memory=0;
static unsigned long tickleft, samplesthatfit;
static long vc_memory=0;
static int vc_softchn;
static SLONGLONG idxsize,idxlpos,idxlend;
static SLONG *vc_tickbuf=NULL;
@@ -659,7 +660,7 @@ static void AddChannel(SLONG* ptr,NATIVE todo)
void VC1_WriteSamples(SBYTE* buf,ULONG todo)
{
int left,portion=0,count;
unsigned int left,portion=0,count;
SBYTE *buffer;
int t, pan, vol;
@@ -119,7 +119,8 @@ typedef struct VINFO {
static SWORD **Samples;
static VINFO *vinf=NULL,*vnf;
static long tickleft,samplesthatfit,vc_memory=0;
static unsigned long tickleft,samplesthatfit;
static long vc_memory=0;
static int vc_softchn;
static SLONGLONG idxsize,idxlpos,idxlend;
static SLONG *vc_tickbuf=NULL;
@@ -710,7 +711,7 @@ static void AddChannel(SLONG* ptr,NATIVE todo)
void VC2_WriteSamples(SBYTE* buf,ULONG todo)
{
int left,portion=0;
unsigned int left,portion=0;
SBYTE *buffer;
int t,pan,vol;