diff options
author | Chris Johns <chrisj@rtems.org> | 2022-08-03 16:58:30 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2022-08-05 07:54:13 +1000 |
commit | 46131ce0e182114285cc7e98ec4843c04b8a5a86 (patch) | |
tree | 76bad2c9be4c544aa2a1ea4fc28ec7fb319b9e9b /cpukit/libdl/rtl-shell.c | |
parent | testsuite/psxclock: Check setting realtime clock does not effect sleeping tasks (diff) | |
download | rtems-46131ce0e182114285cc7e98ec4843c04b8a5a86.tar.bz2 |
libdl: Fix warnings on 64bit architectures
Updates #4662
Diffstat (limited to 'cpukit/libdl/rtl-shell.c')
-rw-r--r-- | cpukit/libdl/rtl-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libdl/rtl-shell.c b/cpukit/libdl/rtl-shell.c index 732f66131e..69de6bad83 100644 --- a/cpukit/libdl/rtl-shell.c +++ b/cpukit/libdl/rtl-shell.c @@ -406,7 +406,7 @@ typedef struct const rtems_rtl_obj_print* print; /**< The print data. */ bool first; /**< Is this the first line printed. */ bool show_name; /**< Show the object name. */ - size_t indent; /**< The indent. */ + int indent; /**< The indent. */ } rtems_rtl_dep_data; static bool @@ -849,7 +849,7 @@ rtems_rtl_shell_archive (const rtems_printer* printer, int argc, char* argv[]) while (!rtems_chain_is_tail (&rtl->archives.archives, node)) { - #define SYM_DUPLICATE (1 << ((8 * sizeof (size_t)) - 1)) + #define SYM_DUPLICATE (((size_t) 1) << ((8 * sizeof (size_t)) - 1)) rtems_rtl_archive* archive = (rtems_rtl_archive*) node; |