Using << on an int8_t or uint8_t will output a character rather than a number.
Places that do this need to cast to int to get the desired behavior. BUG=none TEST=none R=henrik.lundin@webrtc.org, pthatcher@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/40579004 Cr-Commit-Position: refs/heads/master@{#8223} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8223 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -278,7 +278,7 @@ int32_t RTPReceiverAudio::InvokeOnInitializeDecoder(
|
||||
specific_payload.Audio.channels,
|
||||
specific_payload.Audio.rate)) {
|
||||
LOG(LS_ERROR) << "Failed to create decoder for payload type: "
|
||||
<< payload_name << "/" << payload_type;
|
||||
<< payload_name << "/" << static_cast<int>(payload_type);
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user