Merge "Misc fixes for sim-eng build." into gingerbread

This commit is contained in:
Chung-yih Wang
2010-10-06 01:50:25 -07:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ int AmrCodec::set(int sampleRate, const char *fmtp)
}
// Handle mode-set and octet-align.
char *modes = strcasestr(fmtp, "mode-set=");
char *modes = (char*)strcasestr(fmtp, "mode-set=");
if (modes) {
mMode = 0;
mModeSet = 0;

View File

@@ -15,6 +15,7 @@
*/
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <math.h>