Fix log format string warnings

pull/1/head
Stelios Bounanos 2014-10-06 14:23:10 -05:00 zatwierdzone przez David Freese
rodzic 382452a53b
commit d7fe2970f5
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -93,8 +93,8 @@ int RecordLoaderInterface::LoadAndRegister()
}
}
ifs.close();
LOG_INFO( "Read:%s with %d records in %d seconds",
filnam.c_str(), nbRec, static_cast<int>( time(NULL) - cntTim ) );
LOG_INFO( "Read:%s with %zu records in %jd seconds",
filnam.c_str(), nbRec, time(NULL) - cntTim);
return nbRec ;
}

Wyświetl plik

@ -417,7 +417,7 @@ long long rigCAT_getfreq(int retries, bool &failed, int waitval)
f = fm_freqdata(rTemp.data, pData);
if ( f >= rTemp.data.min && f <= rTemp.data.max)
return f;
LOG_VERBOSE("freq: %" PRId64, f);
LOG_VERBOSE("freq: %lld", f);
retry_get_freq: ;
}
}