From c70de60d6789d48468966f978b3193df8d61533a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 25 Sep 2007 10:41:01 +0200 Subject: [PATCH] mood.c: Change type of rows from "void *" to "struct osl_row *". --- mood.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mood.c b/mood.c index 0d11ea13..19f5dc4d 100644 --- a/mood.c +++ b/mood.c @@ -237,7 +237,7 @@ static int mm_is_set_score_function(const struct osl_row *row, void *bitnum) } /* returns 1 if row matches score item, -1 otherwise */ -static int add_item_score(const void *row, struct mood_item *item, long *score, +static int add_item_score(const struct osl_row *row, struct mood_item *item, long *score, long *score_arg_sum) { int ret = 100; @@ -255,7 +255,7 @@ static int add_item_score(const void *row, struct mood_item *item, long *score, return 1; } -static int compute_mood_score(const void *row, long *result) +static int compute_mood_score(const struct osl_row *row, long *result) { struct mood_item *item; int match = 0; @@ -469,7 +469,7 @@ out: return ret; } -static int load_mood(const void *row) +static int load_mood(const struct osl_row *row) { int ret; struct mood *new_mood, *old_mood = current_mood; @@ -651,7 +651,7 @@ static int del_afs_statistics(const struct osl_row *row) struct admissible_file_info { /** The admissible audio file. */ - void *aft_row; + struct osl_row *aft_row; /** Its score. */ long score; }; -- 2.39.2