This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
src/buffer.cxx: supress the compiler warnings
- From: "Sergei Gavrikov" <sg at belvok dot com>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 8 May 2006 20:54:09 +0300 (EEST)
- Subject: src/buffer.cxx: supress the compiler warnings
- Reply-to: sg at belvok dot com
It is just against the compiler warnings.
Sergei Gavrikov
diff -urN ecos/packages/infra/current/ChangeLog ecos.patched/packages/infra/current/ChangeLog
--- ecos/packages/infra/current/ChangeLog 2005-11-04 12:28:56.000000000 +0200
+++ ecos.patched/packages/infra/current/ChangeLog 2006-05-08 17:05:42.000000000 +0300
@@ -1,3 +1,7 @@
+2006-05-08 Sergei Gavrikov <sg@belvok.com>
+
+ * src/buffer.cxx: Fix the compiler warnings.
+
2005-11-04 Bart Veer <bartv@ecoscentric.com>
* tests/cxxsupp.cxx: Fix the compiler warnings.
diff -urN ecos/packages/infra/current/src/buffer.cxx ecos.patched/packages/infra/current/src/buffer.cxx
--- ecos/packages/infra/current/src/buffer.cxx 2005-07-30 14:48:55.000000000 +0300
+++ ecos.patched/packages/infra/current/src/buffer.cxx 2006-05-08 17:00:42.000000000 +0300
@@ -682,7 +682,7 @@
"",
t->get_stack_base(),
#ifdef CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT
- t->get_saved_context(),
+ (int) t->get_saved_context(),
#else
0,
#endif
@@ -697,7 +697,7 @@
diag_printf( "%20s queue = %08x wait info = %08x\n",
"",
- t->get_current_queue(),
+ (int) t->get_current_queue(),
t->get_wait_info()
);