Pārlūkot izejas kodu

minor fixes for warnings detected by Intel Compiler

Nathalie Furmento 14 gadi atpakaļ
vecāks
revīzija
8142916435
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tools/lp2paje.c

+ 1 - 1
tools/lp2paje.c

@@ -90,7 +90,7 @@ int main(int argc, char *argv[]) {
 		printf("4 %f W%d W\n", tmax, w);
 
 	assert(scanf("Actual values of the variables:\n") == 0);
-	assert(scanf("tmax %f\n", &tmax) == 1);
+	assert(scanf("tmax %lf\n", &tmax) == 1);
 	next++;
 	{
 		struct task task[nt];