summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/hexdump-odsyntax.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-06-17 21:57:51 +0000
committerChris Johns <chrisj@rtems.org>2009-06-17 21:57:51 +0000
commit6b2c314f208fbf34b64fa71f6a93dfe0b481b878 (patch)
treea9a327b88325b3f15205838d2281beb27d3bbc30 /cpukit/libmisc/shell/hexdump-odsyntax.c
parent2009-06-18 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-6b2c314f208fbf34b64fa71f6a93dfe0b481b878.tar.bz2
2009-06-18 Chris Johns <chrisj@rtems.org>
* libmisc/shell/hexdump-odsyntax.c: H8300 has the same size float and double. Fix error in case statement.
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/shell/hexdump-odsyntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/hexdump-odsyntax.c b/cpukit/libmisc/shell/hexdump-odsyntax.c
index 5fba463b5c..cd9683c61d 100644
--- a/cpukit/libmisc/shell/hexdump-odsyntax.c
+++ b/cpukit/libmisc/shell/hexdump-odsyntax.c
@@ -353,7 +353,7 @@ odformatfp(rtems_shell_hexdump_globals* globals, char fchar __unused, const char
case sizeof(float):
digits = FLT_DIG;
break;
-#if !defined(__AVR__)
+#if !defined(__AVR__) && !defined(__H8300__)
case sizeof(double):
digits = DBL_DIG;
break;