mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
avoid one more ctype vs. sign-extension problem
* src/util.c (TOLOWER): Also convert tolower argument.
This commit is contained in:
parent
6d132b546d
commit
b8111adf35
@ -1,5 +1,8 @@
|
|||||||
Fri May 9 10:01:34 EST 2008 Jim Meyering <meyering@redhat.com>
|
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
|
add "const" and "static" attributes to file-scoped globals
|
||||||
* src/storage_backend_fs.c (fileTypeInfo): Add "static" and two
|
* src/storage_backend_fs.c (fileTypeInfo): Add "static" and two
|
||||||
"const" attributes.
|
"const" attributes.
|
||||||
|
@ -57,7 +57,8 @@
|
|||||||
|
|
||||||
#define MAX_ERROR_LEN 1024
|
#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)
|
#define virLog(msg...) fprintf(stderr, msg)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user