forked from Imagelibrary/rtems
2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* ftpd/ftpd.c, httpd/uemf.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libblock/src/diskdevs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/uuid/parse.c, libnetworking/lib/ftpfs.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_network.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Fix warnings for ctype methods.
This commit is contained in:
@@ -277,8 +277,8 @@ static rtems_ftpfs_reply rtems_ftpfs_get_reply(
|
||||
)
|
||||
{
|
||||
rtems_ftpfs_reply_state state = RTEMS_FTPFS_REPLY_START;
|
||||
char reply_first [RTEMS_FTPFS_REPLY_SIZE] = { 'a', 'a', 'a' };
|
||||
char reply_last [RTEMS_FTPFS_REPLY_SIZE] = { 'b', 'b', 'b' };
|
||||
unsigned char reply_first [RTEMS_FTPFS_REPLY_SIZE] = { 'a', 'a', 'a' };
|
||||
unsigned char reply_last [RTEMS_FTPFS_REPLY_SIZE] = { 'b', 'b', 'b' };
|
||||
size_t reply_first_index = 0;
|
||||
size_t reply_last_index = 0;
|
||||
char buf [128];
|
||||
@@ -856,7 +856,7 @@ static void rtems_ftpfs_pasv_parser(
|
||||
size_t i = 0;
|
||||
|
||||
for (i = 0; i < len; ++i) {
|
||||
char c = buf [i];
|
||||
int c = buf [i];
|
||||
|
||||
switch (e->state) {
|
||||
case RTEMS_FTPFS_PASV_START:
|
||||
|
||||
Reference in New Issue
Block a user