about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-01-14 00:05:12 +0000
committerJames Booth <boothj5@gmail.com>2016-01-14 00:05:12 +0000
commit042ad4758f57f056b18dc14eddafadd23d54f57e (patch)
tree3b5e51f64b5cd4e380054695b8a3f12300548619 /src/command
parent2e99df1ac2e067c3b6dfa915e2ff60c5f62a2026 (diff)
downloadprofani-tty-042ad4758f57f056b18dc14eddafadd23d54f57e.tar.gz
Fix compile error on Cygwin
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c4
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;
         }