Fix build break in win64
Also updated appveyor to build x64 first. Change-Id: I1970e39bad559b3105ea31fb82375406d95f4a8b
This commit is contained in:
parent
5f6e4a1dc1
commit
50787c605d
|
@ -1,6 +1,6 @@
|
||||||
platform:
|
platform:
|
||||||
- x86
|
|
||||||
- x64
|
- x64
|
||||||
|
- x86
|
||||||
|
|
||||||
configuration:
|
configuration:
|
||||||
- Debug
|
- Debug
|
||||||
|
|
|
@ -222,7 +222,8 @@ Status ChunkingHandler::DispatchNonMainSamples(int64_t timestamp_threshold) {
|
||||||
|
|
||||||
Status ChunkingHandler::DispatchSegmentInfoForAllStreams() {
|
Status ChunkingHandler::DispatchSegmentInfoForAllStreams() {
|
||||||
Status status;
|
Status status;
|
||||||
for (size_t i = 0; i < segment_info_.size() && status.ok(); ++i) {
|
for (int i = 0; i < static_cast<int>(segment_info_.size()) && status.ok();
|
||||||
|
++i) {
|
||||||
if (segment_info_[i] && segment_info_[i]->start_timestamp != -1) {
|
if (segment_info_[i] && segment_info_[i]->start_timestamp != -1) {
|
||||||
segment_info_[i]->duration =
|
segment_info_[i]->duration =
|
||||||
last_sample_end_timestamps_[i] - segment_info_[i]->start_timestamp;
|
last_sample_end_timestamps_[i] - segment_info_[i]->start_timestamp;
|
||||||
|
@ -236,7 +237,8 @@ Status ChunkingHandler::DispatchSegmentInfoForAllStreams() {
|
||||||
|
|
||||||
Status ChunkingHandler::DispatchSubsegmentInfoForAllStreams() {
|
Status ChunkingHandler::DispatchSubsegmentInfoForAllStreams() {
|
||||||
Status status;
|
Status status;
|
||||||
for (size_t i = 0; i < subsegment_info_.size() && status.ok(); ++i) {
|
for (int i = 0; i < static_cast<int>(subsegment_info_.size()) && status.ok();
|
||||||
|
++i) {
|
||||||
if (subsegment_info_[i] && subsegment_info_[i]->start_timestamp != -1) {
|
if (subsegment_info_[i] && subsegment_info_[i]->start_timestamp != -1) {
|
||||||
subsegment_info_[i]->duration =
|
subsegment_info_[i]->duration =
|
||||||
last_sample_end_timestamps_[i] - subsegment_info_[i]->start_timestamp;
|
last_sample_end_timestamps_[i] - subsegment_info_[i]->start_timestamp;
|
||||||
|
|
Loading…
Reference in New Issue