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:
@@ -515,7 +515,7 @@ static void
|
||||
vp_BufferTag (TFB_SoundSample* sample, TFB_SoundTag* tag)
|
||||
{
|
||||
TFB_VideoClip* vid = sample->data;
|
||||
uint32 frame = (uint32) tag->data;
|
||||
uint32 frame = (uint32) (intptr_t) tag->data;
|
||||
|
||||
LockMutex (vid->guard);
|
||||
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_TagBuffer (sample, buffer,
|
||||
(void *) SoundDecoder_GetFrame (sample->decoder));
|
||||
(void *) (intptr_t) SoundDecoder_GetFrame (sample->decoder));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user