mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Attached patch fixes a series of this warning
when compiling on NetBSD: warning: array subscript has type 'char' Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5727 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
77b9435f13
commit
cd390083ad
8 changed files with 43 additions and 27 deletions
|
@ -169,7 +169,7 @@ static void term_backword(void)
|
|||
|
||||
/* find first word (backwards) */
|
||||
while (start > 0) {
|
||||
if (!isspace(term_cmd_buf[start])) {
|
||||
if (!qemu_isspace(term_cmd_buf[start])) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -178,7 +178,7 @@ static void term_backword(void)
|
|||
|
||||
/* find first space (backwards) */
|
||||
while (start > 0) {
|
||||
if (isspace(term_cmd_buf[start])) {
|
||||
if (qemu_isspace(term_cmd_buf[start])) {
|
||||
++start;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue