Browse Source

fix warnings

Samuel Thibault 7 years ago
parent
commit
3442eddbb9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      mpi/examples/mpi_lu/pxlu.c
  2. 1 1
      src/sched_policies/helper_mct.c

+ 1 - 1
mpi/examples/mpi_lu/pxlu.c

@@ -302,7 +302,7 @@ static void create_task_11(unsigned k)
 	if (get_block_rank(k, k) == rank)
 	{
 #ifdef VERBOSE_INIT
-		fprintf(stderr, "CREATE real task 11(%u) (TAG11_SAVE(%u) = %llux) on node %d\n", k, k, TAG11_SAVE(k), rank);
+		fprintf(stderr, "CREATE real task 11(%u) (TAG11_SAVE(%u) = %llux) on node %d\n", k, k, (unsigned long long) TAG11_SAVE(k), rank);
 #endif
 		create_task_11_real(k);
 	}

+ 1 - 1
src/sched_policies/helper_mct.c

@@ -134,7 +134,7 @@ unsigned starpu_mct_compute_execution_times(struct starpu_sched_component *compo
 				/* The perfmodel had been purged since the task was pushed
 				 * onto the mct component. */
 				continue;
-			STARPU_ASSERT_MSG(estimated_lengths[i]>=0, "component=%p, child[%d]=%p, estimated_lengths[%d]=%lf\n", component, i, c, i, estimated_lengths[i]);
+			STARPU_ASSERT_MSG(estimated_lengths[i]>=0, "component=%p, child[%u]=%p, estimated_lengths[%u]=%lf\n", component, i, c, i, estimated_lengths[i]);
 
 			estimated_transfer_length[i] = starpu_sched_component_transfer_length(c, task);
 			suitable_components[nsuitable_components++] = i;