ref: 23e9683747ca5bd3110f3fb8fe350f7c4f9a6cac
parent: accd068a484c9b7658ea316a05c4c1c304919869
parent: 29377a64b0e55823dc6df2d2aa246311d7a283fd
author: ruil2 <ruil2@cisco.com>
date: Tue Mar 27 05:30:35 EDT 2018
Merge pull request #2943 from mstorsjo/fix-msvc64-warning Avoid a warning when building with MSVC in 64 bit mode
--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -865,7 +865,7 @@
} else { //enable multi bs file writing
string filename_layer;
string add_info[4] = {"_layer0", "_layer1", "_layer2", "_layer3"};
- int found = fs.strBsFile.find_last_of ('.');
+ string::size_type found = fs.strBsFile.find_last_of ('.');
for (int i = 0; i < sSvcParam.iSpatialLayerNum; ++i) {
filename_layer = fs.strBsFile.insert (found, add_info[i]);
pFpBs[i] = fopen (filename_layer.c_str(), "wb");