From 8788950815802e1d424b57688b0134df0b830841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kl=C3=B6fkorn?= <robertk@mathematik.uni-stuttgart.de> Date: Tue, 13 Apr 2010 13:28:29 +0000 Subject: [PATCH] removed unused cast. git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/alugrid/trunk@1233 0d966ed9-3843-0410-af09-ebfb50bd7c74 --- src/parallel/mpAccess_STAR.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/parallel/mpAccess_STAR.cc b/src/parallel/mpAccess_STAR.cc index e42c51249..dde8d191f 100644 --- a/src/parallel/mpAccess_STAR.cc +++ b/src/parallel/mpAccess_STAR.cc @@ -26,15 +26,15 @@ extern "C" { #define _mpiComm (getMPICommunicator(_mpiCommPtr)) int MpAccessSTAR_MPI :: star_allgather (int * i, int si, int * o, int so) const { - return STAR_Allgather ((void *) i, si, MPI_INT, o, so, MPI_INT, _mpiComm, 0) ; + return STAR_Allgather (i, si, MPI_INT, o, so, MPI_INT, _mpiComm, 0) ; } int MpAccessSTAR_MPI :: star_allgather (char * i, int si, char * o, int so) const { - return STAR_Allgather ((void *) i, si, MPI_BYTE, o, so, MPI_BYTE, _mpiComm, 0) ; + return STAR_Allgather (i, si, MPI_BYTE, o, so, MPI_BYTE, _mpiComm, 0) ; } int MpAccessSTAR_MPI :: star_allgather (double * i, int si, double * o, int so) const { - return STAR_Allgather ((void * )i, si, MPI_DOUBLE, o, so, MPI_DOUBLE, _mpiComm, 0) ; + return STAR_Allgather (i, si, MPI_DOUBLE, o, so, MPI_DOUBLE, _mpiComm, 0) ; } template < class A > vector < vector < A > > -- GitLab