summaryrefslogtreecommitdiff
path: root/src/modules/voronoi
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/voronoi')
-rw-r--r--src/modules/voronoi/voronoi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/voronoi/voronoi.c b/src/modules/voronoi/voronoi.c
index 3e6a5e3..0a9ba70 100644
--- a/src/modules/voronoi/voronoi.c
+++ b/src/modules/voronoi/voronoi.c
@@ -396,7 +396,7 @@ static int voronoi_setup(const til_settings_t *settings, til_setting_t **res_set
if (!setup)
return -ENOMEM;
- sscanf(n_cells, "%u", &setup->n_cells);
+ sscanf(n_cells, "%zu", &setup->n_cells);
if (!strcasecmp(randomize, "on"))
setup->randomize = 1;
© All Rights Reserved