From: Francois Fleuret Date: Wed, 14 Jun 2017 20:08:14 +0000 (+0200) Subject: Fixed a printf format minor bug. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=c53dba198c8c19fa1f1f9f0b511e92ad2dfcc912;p=pysvrt.git Fixed a printf format minor bug. --- diff --git a/svrt_generator.cc b/svrt_generator.cc index a536005..1fa4f40 100644 --- a/svrt_generator.cc +++ b/svrt_generator.cc @@ -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); }