[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Wed Jan 5 20:22:32 CET 2005


CVS commit by arwalker: 

Remove compiler warnings.
Remove superfluous semi-colon.


  M +4 -4      datawizard.ui.h   1.104


--- kdeextragear-2/kst/kst/datawizard.ui.h  #1.103:1.104
@@ -397,5 +397,5 @@ void DataWizard::finished()
     } else {
         frames = _kstDataRange->N->value();
-        if (frames > ds->frameCount(_xVector->currentText())) {
+        if (frames > (unsigned long)ds->frameCount(_xVector->currentText())) {
             frames = ds->frameCount(_xVector->currentText());
         }
@@ -403,5 +403,5 @@ void DataWizard::finished()
 
     if (_kstDataRange->DoSkip->isChecked()) {
-        memoryRequested += frames / _kstDataRange->Skip->value() * sizeof(double);;
+        memoryRequested += frames / _kstDataRange->Skip->value() * sizeof(double);
     } else {
         memoryRequested += frames * ds->samplesPerFrame(_xVector->currentText())*sizeof(double);
@@ -419,5 +419,5 @@ void DataWizard::finished()
                 } else {
                     frames = _kstDataRange->N->value();
-                    if (frames > ds->frameCount(field)) {
+                    if (frames > (unsigned long)ds->frameCount(field)) {
                         frames = ds->frameCount();
                     }
@@ -678,5 +678,5 @@ void DataWizard::finished()
                         _kstFFTOptions->VectorUnits->text(),
                         _kstFFTOptions->RateUnits->text());
-                if (_radioButtonPlotPSD->isChecked() || colors.count() <= indexColor) {
+                if (_radioButtonPlotPSD->isChecked() || colors.count() <= (unsigned long)indexColor) {
                     c = new KstVCurve(name + "-curve", p->vX(), p->vY(), 0L, 0L, 0L, 0L, KstColorSequence::next(plot->Curves, plot->backgroundColor()));
                 } else {




More information about the Kst mailing list