mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1083373 part 3: Use string::size_type to iterate over a string, in ClearKeyUtils.cpp. r=edwin
This commit is contained in:
parent
9073fbc605
commit
10331193dc
@ -97,7 +97,7 @@ EncodeBase64Web(vector<uint8_t> aBinary, string& aEncoded)
|
||||
|
||||
auto out = aEncoded.begin();
|
||||
auto data = aBinary.begin();
|
||||
for (int i = 0; i < aEncoded.length(); i++) {
|
||||
for (string::size_type i = 0; i < aEncoded.length(); i++) {
|
||||
if (shift) {
|
||||
out[i] = (*data << (6 - shift)) & sMask;
|
||||
data++;
|
||||
|
Loading…
Reference in New Issue
Block a user