summaryrefslogtreecommitdiff
path: root/src/svg/qsvghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg/qsvghandler.cpp')
-rw-r--r--src/svg/qsvghandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp
index 5e7607a..2fd24bb 100644
--- a/src/svg/qsvghandler.cpp
+++ b/src/svg/qsvghandler.cpp
@@ -134,7 +134,7 @@ bool qsvg_get_hex_rgb(const char *name, QRgb *rgb)
if(name[0] != '#')
return false;
name++;
- int len = qstrlen(name);
+ const size_t len = qstrlen(name);
int r, g, b;
bool ok = true;
if (len == 12) {