зеркало из https://github.com/mozilla/gecko-dev.git
Bug 269823: fix invalid casts preventing compilation on 64-bit systems with
gcc4. Patch from falk@debian.org, r=bsmedberg,sr+a=shaver.
This commit is contained in:
Родитель
daf4a5da85
Коммит
75d6c1b6e9
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче