From 9a14c3f8df265068d29fca589fbd85b1455a6344 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Wed, 15 Apr 2020 14:18:33 +0900 Subject: [PATCH] seq: tstamp: add missing const qualifier for ALSASeq.Tstamp.get_real_time() The const qualifier was lost in a previous commit. Fixes: 72d8062b80ff: ("seq: tstamp: rename argument for real time") Signed-off-by: Takashi Sakamoto --- src/seq/tstamp.c | 2 +- src/seq/tstamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/seq/tstamp.c b/src/seq/tstamp.c index c749749..d25f0b5 100644 --- a/src/seq/tstamp.c +++ b/src/seq/tstamp.c @@ -40,7 +40,7 @@ void alsaseq_tstamp_set_tick_time(ALSASeqTstamp *self, const guint32 tick_time) * * Refer to the time as wall-clock time. */ -void alsaseq_tstamp_get_real_time(ALSASeqTstamp *self, guint32 *real_time[2]) +void alsaseq_tstamp_get_real_time(ALSASeqTstamp *self, const guint32 *real_time[2]) { // MEMO: I wish 32-bit storage size is aligned to 32 bit offset in all of // supported ABIs. diff --git a/src/seq/tstamp.h b/src/seq/tstamp.h index 5678b4e..cd7f9d9 100644 --- a/src/seq/tstamp.h +++ b/src/seq/tstamp.h @@ -22,7 +22,7 @@ GType alsaseq_tstamp_get_type() G_GNUC_CONST; void alsaseq_tstamp_get_tick_time(ALSASeqTstamp *self, guint32 *tick_time); void alsaseq_tstamp_set_tick_time(ALSASeqTstamp *self, const guint32 tick_time); -void alsaseq_tstamp_get_real_time(ALSASeqTstamp *self, guint32 *real_time[2]); +void alsaseq_tstamp_get_real_time(ALSASeqTstamp *self, const guint32 *real_time[2]); void alsaseq_tstamp_set_real_time(ALSASeqTstamp *self, const guint32 real_time[2]); G_END_DECLS -- 2.47.3