[rtems commit] clockdrv_shell.h: Fix warning

Sebastian Huber sebh at rtems.org
Wed Sep 10 05:08:05 UTC 2014


Module:    rtems
Branch:    master
Commit:    d11e6efec52856ff68830db021a48a5c3894a765
Changeset: http://git.rtems.org/rtems/commit/?id=d11e6efec52856ff68830db021a48a5c3894a765

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Sep  8 09:50:35 2014 +0200

clockdrv_shell.h: Fix warning

---

 c/src/lib/libbsp/shared/clockdrv_shell.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.h b/c/src/lib/libbsp/shared/clockdrv_shell.h
index db1f235..5af8c66 100644
--- a/c/src/lib/libbsp/shared/clockdrv_shell.h
+++ b/c/src/lib/libbsp/shared/clockdrv_shell.h
@@ -85,7 +85,7 @@ rtems_isr Clock_isr(
     } while (
       _Thread_Heir == _Thread_Executing
         && _Thread_Executing->Start.entry_point
-          == rtems_configuration_get_idle_task()
+          == (Thread_Entry) rtems_configuration_get_idle_task()
     );
 
     Clock_driver_support_at_tick();



More information about the vc mailing list