From 732dcd67aaf8cc03283495137426917dfee4097e Mon Sep 17 00:00:00 2001
From: Taylor R Campbell <campbell@mumble.net>
Date: Sun, 6 Oct 2013 22:21:13 +0000
Subject: [PATCH] Add cast to avoid negative arguments to isalnum.

---
 src/microcode/extract-liarc-decls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microcode/extract-liarc-decls.c b/src/microcode/extract-liarc-decls.c
index 7323d5bd2..e34824b21 100644
--- a/src/microcode/extract-liarc-decls.c
+++ b/src/microcode/extract-liarc-decls.c
@@ -167,7 +167,7 @@ mangle_line (const char * line, const char * prefix)
 static const char *
 skip_name (const char * scan)
 {
-  while ((isalnum (*scan)) || ((*scan) == '_'))
+  while ((isalnum ((unsigned char) (*scan))) || ((*scan) == '_'))
     write_char (*scan++);
   return (scan);
 }
-- 
2.25.1