summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 20:13:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 20:13:39 +0000
commita761f5650d49d2ba73766854423911058f6225a8 (patch)
tree08016423f3fecbca9ebd505126d93927c83d5cc7
parentc22aeb4ea33820b855dbf15114a16cfd59abf362 (diff)
downloadrtems-a761f5650d49d2ba73766854423911058f6225a8.tar.bz2
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* stackchk/check.c: Removed warning.
-rw-r--r--c/src/libmisc/ChangeLog4
-rw-r--r--c/src/libmisc/stackchk/check.c5
-rw-r--r--cpukit/libmisc/ChangeLog4
-rw-r--r--cpukit/libmisc/stackchk/check.c5
4 files changed, 14 insertions, 4 deletions
diff --git a/c/src/libmisc/ChangeLog b/c/src/libmisc/ChangeLog
index 9ae867446b..ff60390d43 100644
--- a/c/src/libmisc/ChangeLog
+++ b/c/src/libmisc/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-31 Joel Sherrill <joel@OARcorp.com>
+
+ * stackchk/check.c: Removed warning.
+
2002-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/mon-command.c: Don't build rtems_monitor_line_editor for
diff --git a/c/src/libmisc/stackchk/check.c b/c/src/libmisc/stackchk/check.c
index 8be5346fd5..c51d9484b2 100644
--- a/c/src/libmisc/stackchk/check.c
+++ b/c/src/libmisc/stackchk/check.c
@@ -338,8 +338,9 @@ void Stack_check_report_blown_task(void)
fprintf(
stderr,
- " Damaged pattern begins at 0x%08x and is %d bytes long\n",
- (unsigned32) Stack_check_Get_pattern_area(stack), PATTERN_SIZE_BYTES);
+ " Damaged pattern begins at 0x%08lx and is %ld bytes long\n",
+ (unsigned long) Stack_check_Get_pattern_area(stack),
+ PATTERN_SIZE_BYTES);
fflush(stderr);
rtems_fatal_error_occurred( (unsigned32) "STACK BLOWN" );
diff --git a/cpukit/libmisc/ChangeLog b/cpukit/libmisc/ChangeLog
index 9ae867446b..ff60390d43 100644
--- a/cpukit/libmisc/ChangeLog
+++ b/cpukit/libmisc/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-31 Joel Sherrill <joel@OARcorp.com>
+
+ * stackchk/check.c: Removed warning.
+
2002-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/mon-command.c: Don't build rtems_monitor_line_editor for
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c
index 8be5346fd5..c51d9484b2 100644
--- a/cpukit/libmisc/stackchk/check.c
+++ b/cpukit/libmisc/stackchk/check.c
@@ -338,8 +338,9 @@ void Stack_check_report_blown_task(void)
fprintf(
stderr,
- " Damaged pattern begins at 0x%08x and is %d bytes long\n",
- (unsigned32) Stack_check_Get_pattern_area(stack), PATTERN_SIZE_BYTES);
+ " Damaged pattern begins at 0x%08lx and is %ld bytes long\n",
+ (unsigned long) Stack_check_Get_pattern_area(stack),
+ PATTERN_SIZE_BYTES);
fflush(stderr);
rtems_fatal_error_occurred( (unsigned32) "STACK BLOWN" );