--- include/mar_ckpt.h | 2 +- include/mar_msg.h | 6 +++--- test/testckpt.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/mar_ckpt.h b/include/mar_ckpt.h index ba293aa..f3e5633 100644 --- a/include/mar_ckpt.h +++ b/include/mar_ckpt.h @@ -92,7 +92,7 @@ static inline void marshall_from_mar_ckpt_checkpoint_creation_attributes_t ( static inline void marshall_to_mar_ckpt_checkpoint_creation_attributes_t ( mar_ckpt_checkpoint_creation_attributes_t *dest, - SaCkptCheckpointCreationAttributesT *src) + const SaCkptCheckpointCreationAttributesT *src) { memset (dest, 0, sizeof (mar_ckpt_checkpoint_creation_attributes_t)); dest->creation_flags = src->creationFlags; diff --git a/include/mar_msg.h b/include/mar_msg.h index b06f366..4ebbf4e 100644 --- a/include/mar_msg.h +++ b/include/mar_msg.h @@ -124,7 +124,7 @@ static inline void marshall_from_mar_msg_queue_creation_attributes_t ( static inline void marshall_to_mar_msg_queue_creation_attributes_t ( mar_msg_queue_creation_attributes_t *dst, - SaMsgQueueCreationAttributesT *src) + const SaMsgQueueCreationAttributesT *src) { int i; @@ -343,7 +343,7 @@ static inline void marshall_from_mar_msg_message_t ( static inline void marshall_to_mar_msg_message_t ( mar_msg_message_t *dst, - SaMsgMessageT *src) + const SaMsgMessageT *src) { memset (dst, 0, sizeof (mar_msg_message_t)); @@ -388,7 +388,7 @@ static inline void marshall_from_mar_msg_queue_thresholds_t ( static inline void marshall_to_mar_msg_queue_thresholds_t ( mar_msg_queue_thresholds_t *dst, - SaMsgQueueThresholdsT *src) + const SaMsgQueueThresholdsT *src) { int i; diff --git a/test/testckpt.c b/test/testckpt.c index a5b1fda..e647ea0 100644 --- a/test/testckpt.c +++ b/test/testckpt.c @@ -341,7 +341,7 @@ sleep (1); } timersub (&tv_end, &tv_start, &tv_elapsed); printf ("Elapsed Time to expiry is %ld & %ld usec (should be about %d seconds)\n", - tv_elapsed.tv_sec, + (long) tv_elapsed.tv_sec, (long) tv_elapsed.tv_usec, SECONDS_TO_EXPIRE); -- 1.7.4.4 _______________________________________________ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais