Procházet zdrojové kódy

minor fixes for warnings detected by Intel Compiler

Nathalie Furmento před 14 roky
rodič
revize
8142916435
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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];