diff options
author | James Booth <boothj5@gmail.com> | 2016-01-14 00:05:12 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-01-14 00:05:12 +0000 |
commit | 042ad4758f57f056b18dc14eddafadd23d54f57e (patch) | |
tree | 3b5e51f64b5cd4e380054695b8a3f12300548619 | |
parent | 2e99df1ac2e067c3b6dfa915e2ff60c5f62a2026 (diff) | |
download | profani-tty-042ad4758f57f056b18dc14eddafadd23d54f57e.tar.gz |
Fix compile error on Cygwin
-rw-r--r-- | src/command/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 9bbb2a12..447bd4b4 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -1091,7 +1091,7 @@ cmd_close(ProfWin *window, const char *const command, gchar **args) if (args[0] != NULL) { int i = 0; for (i = 0; i < strlen(args[0]); i++) { - if (!isdigit(args[0][i])) { + if (!isdigit((int)args[0][i])) { is_num = FALSE; break; } @@ -1185,7 +1185,7 @@ cmd_win(ProfWin *window, const char *const command, gchar **args) gboolean is_num = TRUE; int i = 0; for (i = 0; i < strlen(args[0]); i++) { - if (!isdigit(args[0][i])) { + if (!isdigit((int)args[0][i])) { is_num = FALSE; break; } |