From 91594a1ef895a6e47ece299b762d5476f1bca348 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 25 Mar 2011 11:57:20 -0400 Subject: style cleanup: cast as (type *) not (type*) Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- src/pacman/pacman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pacman/pacman.c') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 2cc3b157..c8e3cb5f 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -842,7 +842,7 @@ static int option_add_cleanmethod(const char *value) { * @param optionfunc a function pointer to an alpm_option_add_* function */ static void setrepeatingoption(char *ptr, const char *option, - int (*optionfunc)(const char*)) + int (*optionfunc)(const char *)) { char *q; @@ -1482,7 +1482,7 @@ int main(int argc, char *argv[]) printf("DB Path : %s\n", alpm_option_get_dbpath()); printf("Cache Dirs: "); for(i = alpm_option_get_cachedirs(); i; i = alpm_list_next(i)) { - printf("%s ", (char*)alpm_list_getdata(i)); + printf("%s ", (char *)alpm_list_getdata(i)); } printf("\n"); printf("Lock File : %s\n", alpm_option_get_lockfile()); -- cgit v1.2.3-54-g00ecf