Fix build break in Windows (#211)

Change-Id: I0ed7a712fd02ea4dddd9c20541c2df653dc456cb
This commit is contained in:
Kongqun Yang 2017-03-17 12:45:28 -07:00 committed by GitHub
parent 0c3fb49eeb
commit 0cb0f79c33
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ struct SegmentInfo {
// TODO(kqyang): Should we use protobuf?
struct StreamData {
size_t stream_index = -1;
size_t stream_index = static_cast<size_t>(-1);
StreamDataType stream_data_type = StreamDataType::kUnknown;
std::shared_ptr<PeriodInfo> period_info;

View File

@ -128,7 +128,7 @@ Status ChunkingHandler::OnFlushRequest(size_t input_stream_index) {
return status;
}
}
const int output_stream_index = input_stream_index;
const size_t output_stream_index = input_stream_index;
return FlushDownstream(output_stream_index);
}