aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2019-01-06 12:06:48 +1100
committerZufu Liu <unknown>2019-01-06 12:06:48 +1100
commit5476eada003a1fbc182676c625b767efb2c16e6f (patch)
treeaa2d89bf5f61cb359c8ff4a5b2dd14968965e50c /src/ViewStyle.cxx
parent2e794b1ef52cb04e93f65906a266095bc8eae4f6 (diff)
downloadscintilla-mirror-5476eada003a1fbc182676c625b767efb2c16e6f.tar.gz
Bug [#2068]. Fix some clang-tidy warnings.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index d6a34e7ee..ec923c382 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -404,7 +404,7 @@ void ViewStyle::ResetDefaultStyle() {
void ViewStyle::ClearStyles() {
// Reset all styles to be like the default style
- for (unsigned int i=0; i<styles.size(); i++) {
+ for (size_t i=0; i<styles.size(); i++) {
if (i != STYLE_DEFAULT) {
styles[i].ClearTo(styles[STYLE_DEFAULT]);
}