|
@@ -1,7 +1,7 @@
|
|
|
|
|
|
*
|
|
|
* Copyright (C) 2009-2011 Université de Bordeaux 1
|
|
|
- * Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
|
|
|
+ * Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
@@ -133,7 +133,7 @@ static handle_to_datatype_func handle_to_datatype_funcs[STARPU_NINTERFACES_ID] =
|
|
|
|
|
|
int starpu_mpi_handle_to_datatype(starpu_data_handle_t data_handle, MPI_Datatype *datatype)
|
|
|
{
|
|
|
- unsigned id = starpu_get_handle_interface_id(data_handle);
|
|
|
+ enum starpu_data_interface_id id = starpu_get_handle_interface_id(data_handle);
|
|
|
|
|
|
handle_to_datatype_func func = handle_to_datatype_funcs[id];
|
|
|
|