diff options
author | kristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-29 21:41:03 +0000 |
---|---|---|
committer | kristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-29 21:41:03 +0000 |
commit | 787c2ac3ef1bfe3315672de13153647462f5db9d (patch) | |
tree | eaa2a9fcadcd08b47fdf1f01bf4dc66acf465d86 /libgomp/env.c | |
parent | d54128c3ad68f9124a1e73cebef45ffd46f3de08 (diff) | |
download | gcc-787c2ac3ef1bfe3315672de13153647462f5db9d.tar.gz |
2008-06-29 Krister Walfridsson <krister.walfridsson@gmail.com>
* env.c (parse_stacksize): Add cast to avoid warning.
(parse_spincount): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137260 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/env.c')
-rw-r--r-- | libgomp/env.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/env.c b/libgomp/env.c index b1349c8e69a..a2f9029a079 100644 --- a/libgomp/env.c +++ b/libgomp/env.c @@ -207,7 +207,7 @@ parse_stacksize (const char *name, unsigned long *pvalue) ++end; if (*end != '\0') { - switch (tolower (*end)) + switch (tolower ((unsigned char) *end)) { case 'b': shift = 0; @@ -276,7 +276,7 @@ parse_spincount (const char *name, unsigned long long *pvalue) ++end; if (*end != '\0') { - switch (tolower (*end)) + switch (tolower ((unsigned char) *end)) { case 'k': mult = 1000LL; |