src/utils.c: Mark is_all_digit() parameter const

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2011-12-09 22:33:58 +01:00
parent 4f4891bdb8
commit 27368d4ee6
2 changed files with 2 additions and 2 deletions

View File

@@ -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++)
{