Fix breakage on SunOS and IRIX

This commit is contained in:
rods%netscape.com 2001-11-14 12:43:53 +00:00
parent 0ecf7cce91
commit 466b9ea72d
2 changed files with 4 additions and 2 deletions

View File

@ -852,7 +852,8 @@ PR_STATIC_CALLBACK(PRBool) set_animation_mode(nsHashKey *aKey, void *aData, void
nsImageLoader *loader = NS_REINTERPRET_CAST(nsImageLoader*, sup);
nsCOMPtr<imgIRequest> imgReq;
loader->GetRequest(getter_AddRefs(imgReq));
SetImgAnimModeOnImgReq(imgReq, (PRUint16)closure);
PRUint32 mode = (PRUint32)closure;
SetImgAnimModeOnImgReq(imgReq, (PRUint16)mode);
return PR_TRUE;
}

View File

@ -852,7 +852,8 @@ PR_STATIC_CALLBACK(PRBool) set_animation_mode(nsHashKey *aKey, void *aData, void
nsImageLoader *loader = NS_REINTERPRET_CAST(nsImageLoader*, sup);
nsCOMPtr<imgIRequest> imgReq;
loader->GetRequest(getter_AddRefs(imgReq));
SetImgAnimModeOnImgReq(imgReq, (PRUint16)closure);
PRUint32 mode = (PRUint32)closure;
SetImgAnimModeOnImgReq(imgReq, (PRUint16)mode);
return PR_TRUE;
}