[Kst] branches/work/kst/1.6/kst/src/plugins/bin

Andrew Walker arwalker at sumusltd.com
Thu Sep 27 00:31:44 CEST 2007


SVN commit 717473 by arwalker:

remove compiler warning

 M  +2 -2      bin.cpp  


--- branches/work/kst/1.6/kst/src/plugins/bin/bin.cpp #717472:717473
@@ -52,8 +52,8 @@
   if (input->length() > 0) {
     int binSize = (int)size->value();
 
-    if (binSize < 1.0) {
-      binSize = 1.0;
+    if (binSize < 1) {
+      binSize = 1;
     }
     if (binSize > input->length()) {
       binSize = input->length();


More information about the Kst mailing list