aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.c
diff options
context:
space:
mode:
Diffstat (limited to 'color_filters.c')
-rw-r--r--color_filters.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/color_filters.c b/color_filters.c
index 297d4ead4c..d9e2ecfdc4 100644
--- a/color_filters.c
+++ b/color_filters.c
@@ -29,7 +29,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <ctype.h>
#include <string.h>
#include <wsutil/filesystem.h>
@@ -469,7 +468,7 @@ read_filters_file(FILE *f, gpointer user_data)
guint32 name_len = INIT_BUF_SIZE;
guint32 filter_exp_len = INIT_BUF_SIZE;
guint32 i = 0;
- gint32 c;
+ int c;
guint16 fg_r, fg_g, fg_b, bg_r, bg_g, bg_b;
gboolean disabled = FALSE;
gboolean skip_end_of_line = FALSE;
@@ -489,7 +488,7 @@ read_filters_file(FILE *f, gpointer user_data)
skip_end_of_line = FALSE;
}
- while ((c = getc(f)) != EOF && isspace(c)) {
+ while ((c = getc(f)) != EOF && g_ascii_isspace(c)) {
if (c == '\n') {
continue;
}