[rtems commit] PR2056: libqos conversion from uint32_t to time_t

Gedare Bloom gedare at rtems.org
Tue Dec 3 15:57:24 UTC 2013


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

Author:    Gedare Bloom <gedare at rtems.org>
Date:      Mon Apr 23 09:56:14 2012 -0400

PR2056: libqos conversion from uint32_t to time_t

AquosA defines qres_params_t using qres_time_t so we should also.
This fixes an invalid conversion from uint32_t into time_t as well.

---

 cpukit/libqos/qreslib.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/libqos/qreslib.h b/cpukit/libqos/qreslib.h
index 110cc2f..5db036a 100644
--- a/cpukit/libqos/qreslib.h
+++ b/cpukit/libqos/qreslib.h
@@ -67,9 +67,9 @@ typedef time_t qres_atime_t;
 /** Server parameters. */
 typedef struct {
   /** Relative deadline of the server. */
-  uint32_t P;
+  qres_time_t P;
   /** Budget (computation time) of the server. */
-  uint32_t Q;
+  qres_time_t Q;
 } qres_params_t;
 
 /**




More information about the vc mailing list