summaryrefslogtreecommitdiff
path: root/geyes/src/themes.c
diff options
context:
space:
mode:
Diffstat (limited to 'geyes/src/themes.c')
-rw-r--r--geyes/src/themes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/geyes/src/themes.c b/geyes/src/themes.c
index 22b8b35c..726af951 100644
--- a/geyes/src/themes.c
+++ b/geyes/src/themes.c
@@ -73,7 +73,7 @@ parse_theme_file (EyesApplet *eyes_applet,
while (!isdigit (*token)) {
token++;
}
- sscanf (token, "%d", &eyes_applet->num_eyes);
+ sscanf (token, "%" G_GSIZE_FORMAT, &eyes_applet->num_eyes);
if (eyes_applet->num_eyes > MAX_EYES)
eyes_applet->num_eyes = MAX_EYES;
} else if (strncmp (token, "eye-pixmap", strlen ("eye-pixmap")) == 0) {