Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Roland Dreier (rdreier_at_[hidden])
Date: 2007-04-18 11:54:12


> Because the target variable is an (int).

If I were writing the code, I would leave the cast out. By assigning
the value to an int variable, you get the same effect anyway, so the
cast is redundant. And if you ever change the variable to a long, now
you have to remember to delete the cast too. So I don't see any
upside to having the cast.

But it's just a minor style issue...