Fix for reported build break.
Fix for broken unit test on 32-bit platforms. Change-Id: Ie9c314b4ea14be2cb3e51c8b06374b22ffdf9200
This commit is contained in:
parent
79d3c4f4ec
commit
b3d7e7db93
|
@ -145,8 +145,8 @@ std::string GetSegmentName(const std::string& segment_template,
|
|||
segment_name +=
|
||||
base::StringPrintf(format_tag.c_str(), segment_start_time);
|
||||
} else if (identifier == "Bandwidth") {
|
||||
segment_name +=
|
||||
base::StringPrintf(format_tag.c_str(), bandwidth);
|
||||
segment_name += base::StringPrintf(
|
||||
format_tag.c_str(), static_cast<uint64>(bandwidth));
|
||||
}
|
||||
}
|
||||
return segment_name;
|
||||
|
|
|
@ -6,14 +6,15 @@
|
|||
|
||||
#include "media/file/udp_file.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/strings/string_number_conversions.h"
|
||||
#include "gflags/gflags.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
#include <strings.h>
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/strings/string_number_conversions.h"
|
||||
#include "gflags/gflags.h"
|
||||
|
||||
// TODO(tinskip): Adapt to work with winsock.
|
||||
|
||||
|
|
Loading…
Reference in New Issue