From 182746b95c84d5e742b82d662f4c3321250b4e60 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 9 Sep 2008 10:01:29 +0200 Subject: timer: constant pointers The audio_format argument to timer_new() should be constant, because it is not modified. The same is true for ShoutData.audioFormat. --- src/timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timer.h') diff --git a/src/timer.h b/src/timer.h index 80bef952..31977f79 100644 --- a/src/timer.h +++ b/src/timer.h @@ -29,7 +29,7 @@ typedef struct _Timer { int rate; } Timer; -Timer *timer_new(struct audio_format *af); +Timer *timer_new(const struct audio_format *af); void timer_free(Timer *timer); -- cgit v1.2.3