зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug 265709: fixed compiler warnings on LP64 platforms about
casting between a pointer and an integer of different size. r=jpierre.
This commit is contained in:
Родитель
c9cd3b04b8
Коммит
05fcf32057
|
@ -2135,11 +2135,11 @@ PR_IMPLEMENT(void *) PR_EnumerateAddrInfo(void *iterPtr,
|
|||
#if defined(_PR_INET6_PROBE)
|
||||
if (!_pr_ipv6_is_present) {
|
||||
/* using PRAddrInfoFB */
|
||||
PRIntn iter = (PRIntn) iterPtr;
|
||||
PRIntn iter = (PRIntn)(PRPtrdiff) iterPtr;
|
||||
iter = PR_EnumerateHostEnt(iter, &((PRAddrInfoFB *) base)->hostent, port, result);
|
||||
if (iter < 0)
|
||||
iter = 0;
|
||||
return (void *) iter;
|
||||
return (void *)(PRPtrdiff) iter;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче