diff options
author | Joel Sherrill <joel@rtems.org> | 2021-05-21 12:43:28 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-05-21 12:44:19 -0500 |
commit | 402b9a60a54990356ff2efa98eb61b3fd2372ce9 (patch) | |
tree | 85d3bae8a4ce1a67dd94114525002df05913a232 /select | |
parent | Add various .gitignore files (diff) | |
download | network-demos-402b9a60a54990356ff2efa98eb61b3fd2372ce9.tar.bz2 |
Misc: Fix various warnings
Diffstat (limited to 'select')
-rw-r--r-- | select/init.c | 2 | ||||
-rw-r--r-- | select/test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/select/init.c b/select/init.c index 829c567..e56dc8b 100644 --- a/select/init.c +++ b/select/init.c @@ -36,7 +36,7 @@ Init (rtems_task_argument ignored) #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_RTEMS_INIT_TASKS_TABLE -#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20 +#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 20 #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM #define CONFIGURE_EXECUTIVE_RAM_SIZE (512*1024) diff --git a/select/test.c b/select/test.c index 1dbe284..63f1986 100644 --- a/select/test.c +++ b/select/test.c @@ -63,7 +63,7 @@ getClients (unsigned short port) if (s1 < 0) rtems_panic ("Can't accept connection: %s", strerror (errno)); else - printf ("ACCEPTED:%lX\n", ntohl (farAddr.sin_addr.s_addr)); + printf ("ACCEPTED:%X\n", ntohl (farAddr.sin_addr.s_addr)); clientfd[clientCount] = s1; } |