mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Fixing build warning.
This commit is contained in:
parent
2b87de3ad8
commit
c41e5c80b0
@ -835,7 +835,7 @@ nsPresContext::SetImageAnimationMode(PRUint16 aMode)
|
||||
|
||||
// This hash table contains a list of background images
|
||||
// so iterate over it and set the mode
|
||||
mImageLoaders.Enumerate(set_animation_mode, (void*)aMode);
|
||||
mImageLoaders.Enumerate(set_animation_mode, NS_INT32_TO_PTR(aMode));
|
||||
|
||||
// Now walk the content tree and set the animation mode
|
||||
// on all the images
|
||||
|
@ -835,7 +835,7 @@ nsPresContext::SetImageAnimationMode(PRUint16 aMode)
|
||||
|
||||
// This hash table contains a list of background images
|
||||
// so iterate over it and set the mode
|
||||
mImageLoaders.Enumerate(set_animation_mode, (void*)aMode);
|
||||
mImageLoaders.Enumerate(set_animation_mode, NS_INT32_TO_PTR(aMode));
|
||||
|
||||
// Now walk the content tree and set the animation mode
|
||||
// on all the images
|
||||
|
Loading…
Reference in New Issue
Block a user