Fix compiler warnings

All are harmless but for the sake of clarity have
fixed them all bar a couple;

- Lucene grumbles about signed/unsigned conversion which
  is/isn't valid depending upon the version of CLucene you
  compile with. Either way it is harmless.

- QxtScheduleView has a bunch of issues, but since it is a
  third party widget its better to leave it unchanged.
This commit is contained in:
Mark Liversedge
2013-02-06 15:54:32 +00:00
parent 0022140687
commit f527d8e5c2
16 changed files with 36 additions and 81 deletions

View File

@@ -224,12 +224,10 @@ void ANTChannel::channelEvent(unsigned char *ant_message) {
void ANTChannel::checkCinqo()
{
int version_hi, version_lo, swab_version;
int version_hi, version_lo;
version_hi=(product_version >> 8) &0xff;
version_lo=(product_version & 0xff);
swab_version=version_lo | (version_hi<<8);
if (!(mi.first_time_manufacturer || mi.first_time_product)) {
if ((product_id == 1) && (manufacturer_id==7)) {
// we are a cinqo, were we aware of this?