[Kst] kdeextragear-2/kst/kst [POSSIBLY UNSAFE]

George Staikos staikos at kde.org
Sat Feb 7 08:33:52 CET 2004


CVS commit by staikos: 

warning fix


  M +1 -1      kstcurvedialog_i.cpp   1.31 [POSSIBLY UNSAFE: printf]


--- kdeextragear-2/kst/kst/kstcurvedialog_i.cpp  #1.30:1.31
@@ -141,5 +141,5 @@ void KstCurveDialogI::update(int new_ind
   if (isNew) {
     QString new_label;
-    new_label.sprintf("C%d-", curves.count()+1);
+    new_label.sprintf("C%d-", signed(curves.count())+1);
     new_label += i18n("<New_Curve>");
 





More information about the Kst mailing list