Bug 269823: fix invalid casts preventing compilation on 64-bit systems with
gcc4. Patch from falk@debian.org, r=bsmedberg,sr+a=shaver. git-svn-id: svn://10.0.0.236/trunk@176341 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
38ac0f3711
commit
f5c01c9e13
@ -891,8 +891,8 @@ nsHttpConnectionMgr::OnMsgReclaimConnection(PRInt32, void *param)
|
||||
void
|
||||
nsHttpConnectionMgr::OnMsgUpdateParam(PRInt32, void *param)
|
||||
{
|
||||
PRUint16 name = (PRUint32(param) & 0xFFFF0000) >> 16;
|
||||
PRUint16 value = PRUint32(param) & 0x0000FFFF;
|
||||
PRUint16 name = (NS_PTR_TO_INT32(param) & 0xFFFF0000) >> 16;
|
||||
PRUint16 value = NS_PTR_TO_INT32(param) & 0x0000FFFF;
|
||||
|
||||
switch (name) {
|
||||
case MAX_CONNECTIONS:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user