Get rid of warning on systems with 64 bits pointers.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1829 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-06-17 16:16:09 +00:00
parent 536b3aa524
commit 93a6ca9b65
+2 -2
View File
@@ -515,7 +515,7 @@ static void
vp_BufferTag (TFB_SoundSample* sample, TFB_SoundTag* tag) vp_BufferTag (TFB_SoundSample* sample, TFB_SoundTag* tag)
{ {
TFB_VideoClip* vid = sample->data; TFB_VideoClip* vid = sample->data;
uint32 frame = (uint32) tag->data; uint32 frame = (uint32) (intptr_t) tag->data;
LockMutex (vid->guard); LockMutex (vid->guard);
vid->want_frame = frame; // let it go! vid->want_frame = frame; // let it go!
@@ -528,6 +528,6 @@ vp_QueueBuffer (TFB_SoundSample* sample, audio_Object buffer)
//TFB_VideoClip* vid = sample->data; //TFB_VideoClip* vid = sample->data;
TFB_TagBuffer (sample, buffer, TFB_TagBuffer (sample, buffer,
(void *) SoundDecoder_GetFrame (sample->decoder)); (void *) (intptr_t) SoundDecoder_GetFrame (sample->decoder));
} }