Minor update.
[pysvrt.git] / svrt_generator.cc
index a536005..33b98ee 100644 (file)
@@ -18,7 +18,7 @@
  *  General Public License for more details.
  *
  *  You should have received a copy of the GNU General Public License
- *  along with selector.  If not, see <http://www.gnu.org/licenses/>.
+ *  along with svrt.  If not, see <http://www.gnu.org/licenses/>.
  *
  */
 
@@ -174,7 +174,7 @@ void svrt_generate_vignettes(int n_problem, int nb_vignettes, long *labels,
     if(labels[i] == 0 || labels[i] == 1) {
       vg->generate(labels[i], &tmp);
     } else {
-      printf("Vignette class label has to be 0 or 1. Provided value is %d.\n", labels[i]);
+      printf("Vignette class label has to be 0 or 1. Provided value is %ld.\n", labels[i]);
       exit(1);
     }