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
Этот коммит содержится в:
родитель
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
|
||||
addresses are always stored in network byte order.
|
||||
*/
|
||||
if (((__const uint32_t *) (a6_1))[0] ==
|
||||
((__const uint32_t *) (a6_2))[0] &&
|
||||
((__const uint32_t *) (a6_1))[1] ==
|
||||
((__const uint32_t *) (a6_2))[1]) {
|
||||
if (((const uint32_t *) (a6_1))[0] ==
|
||||
((const uint32_t *) (a6_2))[0] &&
|
||||
((const uint32_t *) (a6_1))[1] ==
|
||||
((const uint32_t *) (a6_2))[1]) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user