X86 target fixes
GCC 4.2.1 complains about using void* in arithmetic. Cast it to unsigned
int before using it.
Also there was a missing stdint.h include.
Change-Id: If78bb6a771b72eb08bd2dc401371e8da14fd9ecc
diff --git a/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp b/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp
index ed9de6e..1ac741c 100755
--- a/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp
+++ b/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp
@@ -403,8 +403,8 @@
M4OSA_Context fp = M4OSA_NULL;
uiPCMsize = (mInputBuffer->range_length())/2;
- pPTMdata = (M4OSA_Int16*)(mInputBuffer->data() +
- mInputBuffer->range_offset());
+ pPTMdata = (M4OSA_Int16*) ((uint8_t*) mInputBuffer->data()
+ + mInputBuffer->range_offset());
LOGV("mix with background malloc to do len %d", len);