Fix compilation errors on Fedora 20.
peerconnection_jni.cc: syscall() comes from <unistd.h> RTPtimeshift.cc: char* being compared to 0 instead of the atoi() of it rtp_payload_registry_unittest.cc: avoid narrowing int to uint32. BUG=2700 R=andrew@webrtc.org, fischman@webrtc.org, henrik.lundin@webrtc.org, henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/5019004 Patch from Victor Costan <costan@gmail.com>. git-svn-id: http://webrtc.googlecode.com/svn/trunk@5248 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -38,7 +38,7 @@ class RtpPayloadRegistryTest : public ::testing::Test {
|
||||
|
||||
protected:
|
||||
ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload(
|
||||
uint8_t payload_type, int rate) {
|
||||
uint8_t payload_type, uint32_t rate) {
|
||||
bool audio = true;
|
||||
ModuleRTPUtility::Payload returned_payload = { "name", audio, {
|
||||
// Initialize the audio struct in this case.
|
||||
|
||||
Reference in New Issue
Block a user