summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-12-09 22:33:58 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-12-09 22:35:53 +0100
commit27368d4ee6ea9d4909ba51ba2e1dbb88ee2a6165 (patch)
tree96a598855f99c743fbb89770a0f78669362d6d5a /src/utils.c
parent4f4891bdb88410ae04225f3d6acfa31d73a3901a (diff)
downloadcalcurse-27368d4ee6ea9d4909ba51ba2e1dbb88ee2a6165.zip
src/utils.c: Mark is_all_digit() parameter const
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
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++)
{