mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 20:28:42 -05:00
Clean up a few compiler warning messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2581 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
8175795038
commit
7c8eeff1b1
@ -1,4 +1,4 @@
|
|||||||
//---------------------------------------------------------------- MainWindow
|
//--------------------------------------------------------------- MainWindow
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
#include "devsetup.h"
|
#include "devsetup.h"
|
||||||
|
@ -124,9 +124,9 @@ unsigned char Si570usbOpenDevice(usb_dev_handle **device, char *usbSerialID)
|
|||||||
char string[256];
|
char string[256];
|
||||||
int len;
|
int len;
|
||||||
int vendor = USBDEV_SHARED_VENDOR;
|
int vendor = USBDEV_SHARED_VENDOR;
|
||||||
char *vendorName = VENDOR_NAME;
|
char *vendorName = (char *)VENDOR_NAME;
|
||||||
int product = USBDEV_SHARED_PRODUCT;
|
int product = USBDEV_SHARED_PRODUCT;
|
||||||
char *productName = PRODUCT_NAME;
|
char *productName = (char *)PRODUCT_NAME;
|
||||||
char serialNumberString[20];
|
char serialNumberString[20];
|
||||||
static int didUsbInit = 0;
|
static int didUsbInit = 0;
|
||||||
|
|
||||||
|
@ -29,9 +29,9 @@ public:
|
|||||||
|
|
||||||
SoundInThread():
|
SoundInThread():
|
||||||
quitExecution(false),
|
quitExecution(false),
|
||||||
m_dataSinkBusy(false),
|
|
||||||
m_rate(0),
|
m_rate(0),
|
||||||
bufSize(0)
|
bufSize(0),
|
||||||
|
m_dataSinkBusy(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,7 +27,8 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer,
|
|||||||
{
|
{
|
||||||
paUserData *udata=(paUserData*)userData;
|
paUserData *udata=(paUserData*)userData;
|
||||||
short *wptr = (short*)outputBuffer;
|
short *wptr = (short*)outputBuffer;
|
||||||
unsigned int i,n;
|
unsigned int i;
|
||||||
|
int n;
|
||||||
static int ic=0;
|
static int ic=0;
|
||||||
static bool btxok0=false;
|
static bool btxok0=false;
|
||||||
static int nStart=0;
|
static int nStart=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user