Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compiled/subscription/Subscription.cpp

Issue 29715695: Noissue - get rid of compiler warnings (Closed) Base URL: github.com:adblockplus/adblockpluscore
Patch Set: Created March 6, 2018, 12:26 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiled/library.cpp ('k') | test/compiled/RegExp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/subscription/Subscription.cpp
diff --git a/compiled/subscription/Subscription.cpp b/compiled/subscription/Subscription.cpp
index 51211e9cb2d915c8e671d4c2765ac753965cea94..0f9387f2f3079f160dd401d3fcb2b3e063a227cb 100644
--- a/compiled/subscription/Subscription.cpp
+++ b/compiled/subscription/Subscription.cpp
@@ -101,7 +101,7 @@ Subscription* Subscription::FromID(const String& id)
do
{
int number = gen();
- for (int i = randomID.length() - 6; i < randomID.length(); i++)
+ for (String::size_type i = randomID.length() - 6; i < randomID.length(); i++)
{
randomID[i] = '0' + (number % 10);
number /= 10;
« no previous file with comments | « compiled/library.cpp ('k') | test/compiled/RegExp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld