summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index f7b500d..8e76547 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -234,7 +234,7 @@ print_in_middle (WINDOW *win, int starty, int startx, int width, char *string)
/* checks if a string is only made of digits */
int
-is_all_digit (char *string)
+is_all_digit (const char *string)
{
for (; *string; string++)
{