summaryrefslogtreecommitdiff
path: root/braces.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-03 13:34:30 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-03 13:34:30 -0500
commit8a9c66f622d6e5d858e929da8b150fb6db6b4303 (patch)
treef76a9e1ce5a87751e8979fa1aa02a2d83775ce45 /braces.c
parentb954488bc2451afc7da8fd5c8219229efc1d2ae1 (diff)
downloadbash-8a9c66f622d6e5d858e929da8b150fb6db6b4303.tar.gz
commit bash-20040803 snapshot
Diffstat (limited to 'braces.c')
-rw-r--r--braces.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/braces.c b/braces.c
index 0fb9b9d7..8ebfb4fa 100644
--- a/braces.c
+++ b/braces.c
@@ -340,8 +340,8 @@ expand_seqterm (text, tlen)
if (lhs_t == ST_CHAR)
{
- lhs_v = lhs[0];
- rhs_v = rhs[0];
+ lhs_v = (unsigned char)lhs[0];
+ rhs_v = (unsigned char)rhs[0];
}
else
{