提交 b8111adf 编写于 作者: J Jim Meyering

avoid one more ctype vs. sign-extension problem

* src/util.c (TOLOWER): Also convert tolower argument.
上级 6d132b54
Fri May 9 10:01:34 EST 2008 Jim Meyering <meyering@redhat.com>
avoid one more ctype vs. sign-extension problem
* src/util.c (TOLOWER): Also convert tolower argument.
add "const" and "static" attributes to file-scoped globals
* src/storage_backend_fs.c (fileTypeInfo): Add "static" and two
"const" attributes.
......
......@@ -57,7 +57,8 @@
#define MAX_ERROR_LEN 1024
#define TOLOWER(Ch) (isupper (to_uchar(Ch)) ? tolower (Ch) : (Ch))
#define TOLOWER(Ch) (isupper (to_uchar(Ch)) \
? tolower (to_uchar (Ch)) : (to_uchar (Ch)))
#define virLog(msg...) fprintf(stderr, msg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册