comparison widgets/PluginParameterBox.cpp @ 807:e4773943c9c1 warnfix_no_size_t

More unsigned/long and warning fixes
author Chris Cannam
date Tue, 17 Jun 2014 15:55:27 +0100
parents 1a0dfcbffaf1
children 1fdd895063c5
comparison
equal deleted inserted replaced
806:4c8ca536b54f 807:e4773943c9c1
329 if (qtz > 0.0) { 329 if (qtz > 0.0) {
330 int step = lrintf((value - min) / qtz); 330 int step = lrintf((value - min) / qtz);
331 value = min + step * qtz; 331 value = min + step * qtz;
332 } 332 }
333 333
334 int imax = 100; 334 // int imax = 100;
335 335
336 if (qtz > 0.0) { 336 if (qtz > 0.0) {
337 imax = lrintf((max - min) / qtz); 337 // imax = lrintf((max - min) / qtz);
338 } else { 338 } else {
339 qtz = (max - min) / 100.0; 339 qtz = (max - min) / 100.0;
340 } 340 }
341 341
342 int ival = lrintf((value - min) / qtz); 342 int ival = lrintf((value - min) / qtz);