Compilation + warning fix

This commit is contained in:
Bertrand Songis
2020-03-04 10:46:38 +01:00
parent 6627d3f1ef
commit c3ec23c758
2 changed files with 3 additions and 3 deletions
@@ -58,11 +58,11 @@ class SpectrumFooterWindow: public FormGroup
char label[10];
// Frequency
sprintf(label,"T: %dMHz", reusableBuffer.spectrumAnalyser.freq / 1000000);
sprintf(label,"T: %dMHz", int(reusableBuffer.spectrumAnalyser.freq / 1000000));
new StaticText(this, grid.getFieldSlot(3, 0), label);
// Span
sprintf(label,"S: %dMHz", reusableBuffer.spectrumAnalyser.span / 1000000);
sprintf(label,"S: %dMHz", int(reusableBuffer.spectrumAnalyser.span / 1000000));
new StaticText(this, grid.getFieldSlot(3, 1), label);
}
else {