Browse Source

minor fixes for warnings detected by Intel Compiler

Nathalie Furmento 14 years ago
parent
commit
8142916435
1 changed files with 1 additions and 1 deletions
  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);
 		printf("4 %f W%d W\n", tmax, w);
 
 
 	assert(scanf("Actual values of the variables:\n") == 0);
 	assert(scanf("Actual values of the variables:\n") == 0);
-	assert(scanf("tmax %f\n", &tmax) == 1);
+	assert(scanf("tmax %lf\n", &tmax) == 1);
 	next++;
 	next++;
 	{
 	{
 		struct task task[nt];
 		struct task task[nt];