ref: 29377a64b0e55823dc6df2d2aa246311d7a283fd
parent: accd068a484c9b7658ea316a05c4c1c304919869
author: Martin Storsjö <martin@martin.st>
date: Mon Mar 26 07:52:47 EDT 2018
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");