Browse Source

fix warning

Samuel Thibault 8 years ago
parent
commit
ba651b5d8a
2 changed files with 3 additions and 3 deletions
  1. 1 1
      mpi/src/starpu_mpi.c
  2. 2 2
      mpi/src/starpu_mpi_private.h

+ 1 - 1
mpi/src/starpu_mpi.c

@@ -368,7 +368,7 @@ static struct _starpu_mpi_req *_starpu_mpi_isend_irecv_common(starpu_data_handle
  }
 
 #ifdef STARPU_SIMGRID
-int _starpu_mpi_simgrid_mpi_test(int *done, int *flag)
+int _starpu_mpi_simgrid_mpi_test(unsigned *done, int *flag)
 {
 	*flag = 0;
 	if (*done)

+ 2 - 2
mpi/src/starpu_mpi_private.h

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010, 2012-2016  Université de Bordeaux
+ * Copyright (C) 2010, 2012-2017  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -42,7 +42,7 @@ struct _starpu_simgrid_mpi_req
 	unsigned *done;
 };
 
-int _starpu_mpi_simgrid_mpi_test(int *done, int *flag);
+int _starpu_mpi_simgrid_mpi_test(unsigned *done, int *flag);
 void _starpu_mpi_simgrid_wait_req(MPI_Request *request, 	MPI_Status *status, starpu_pthread_queue_t *queue, unsigned *done);
 #endif