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:
@@ -96,7 +96,8 @@ typedef struct VINFO {
|
|||||||
|
|
||||||
static SWORD **Samples;
|
static SWORD **Samples;
|
||||||
static VINFO *vinf=NULL,*vnf;
|
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 int vc_softchn;
|
||||||
static SLONGLONG idxsize,idxlpos,idxlend;
|
static SLONGLONG idxsize,idxlpos,idxlend;
|
||||||
static SLONG *vc_tickbuf=NULL;
|
static SLONG *vc_tickbuf=NULL;
|
||||||
@@ -659,7 +660,7 @@ static void AddChannel(SLONG* ptr,NATIVE todo)
|
|||||||
|
|
||||||
void VC1_WriteSamples(SBYTE* buf,ULONG todo)
|
void VC1_WriteSamples(SBYTE* buf,ULONG todo)
|
||||||
{
|
{
|
||||||
int left,portion=0,count;
|
unsigned int left,portion=0,count;
|
||||||
SBYTE *buffer;
|
SBYTE *buffer;
|
||||||
int t, pan, vol;
|
int t, pan, vol;
|
||||||
|
|
||||||
|
|||||||
@@ -119,7 +119,8 @@ typedef struct VINFO {
|
|||||||
|
|
||||||
static SWORD **Samples;
|
static SWORD **Samples;
|
||||||
static VINFO *vinf=NULL,*vnf;
|
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 int vc_softchn;
|
||||||
static SLONGLONG idxsize,idxlpos,idxlend;
|
static SLONGLONG idxsize,idxlpos,idxlend;
|
||||||
static SLONG *vc_tickbuf=NULL;
|
static SLONG *vc_tickbuf=NULL;
|
||||||
@@ -710,7 +711,7 @@ static void AddChannel(SLONG* ptr,NATIVE todo)
|
|||||||
|
|
||||||
void VC2_WriteSamples(SBYTE* buf,ULONG todo)
|
void VC2_WriteSamples(SBYTE* buf,ULONG todo)
|
||||||
{
|
{
|
||||||
int left,portion=0;
|
unsigned int left,portion=0;
|
||||||
SBYTE *buffer;
|
SBYTE *buffer;
|
||||||
int t,pan,vol;
|
int t,pan,vol;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user