Fixing build warning.

This commit is contained in:
jst%mozilla.jstenback.com 2004-04-30 04:11:02 +00:00
parent 2b87de3ad8
commit c41e5c80b0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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