From 150d88996575bbc9039bcf83109f0fbc856b6c0c Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 24 Jul 2005 20:23:40 +0000 Subject: [PATCH] make color_to_short() actually return a short git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2921 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/proto.h | 2 +- src/rcfile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proto.h b/src/proto.h index 8bee99c1..fa6a309a 100644 --- a/src/proto.h +++ b/src/proto.h @@ -429,7 +429,7 @@ void rcfile_error(const char *msg, ...); char *parse_next_word(char *ptr); char *parse_argument(char *ptr); #ifdef ENABLE_COLOR -int color_to_short(const char *colorname, bool *bright); +short color_to_short(const char *colorname, bool *bright); char *parse_next_regex(char *ptr); bool nregcomp(regex_t *preg, const char *regex, int eflags); void parse_syntax(char *ptr); diff --git a/src/rcfile.c b/src/rcfile.c index eb398767..96e6f080 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -180,7 +180,7 @@ char *parse_argument(char *ptr) } #ifdef ENABLE_COLOR -int color_to_short(const char *colorname, bool *bright) +short color_to_short(const char *colorname, bool *bright) { short mcolor = -1; -- 2.39.5