1
1

Change the __const qualifier to const. This change was needed

because the Sun Studio compiler did not recognize __const.

This commit fixes trac:1011.

This commit was SVN r14558.

The following Trac tickets were found above:
  Ticket 1011 --> https://svn.open-mpi.org/trac/ompi/ticket/1011
Этот коммит содержится в:
Rolf vandeVaart 2007-05-01 17:45:37 +00:00
родитель 4510b42638
Коммит c48dde66ac

Просмотреть файл

@ -1321,10 +1321,10 @@ opal_samenetwork(struct sockaddr_storage *addr1, struct sockaddr_storage *addr2,
endianess is not an issue on any system as long as endianess is not an issue on any system as long as
addresses are always stored in network byte order. addresses are always stored in network byte order.
*/ */
if (((__const uint32_t *) (a6_1))[0] == if (((const uint32_t *) (a6_1))[0] ==
((__const uint32_t *) (a6_2))[0] && ((const uint32_t *) (a6_2))[0] &&
((__const uint32_t *) (a6_1))[1] == ((const uint32_t *) (a6_1))[1] ==
((__const uint32_t *) (a6_2))[1]) { ((const uint32_t *) (a6_2))[1]) {
return true; return true;
} }
} }