summaryrefslogtreecommitdiff
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-25 11:57:20 -0400
committerDan McGee <dan@archlinux.org>2011-04-20 19:04:53 -0500
commit91594a1ef895a6e47ece299b762d5476f1bca348 (patch)
tree36449c5a5918588eec39ba24401aafadc2e43798 /src/pacman/pacman.c
parentfdcfcf28a28006a4239e54a34129d3b099d0df0d (diff)
style cleanup: cast as (type *) not (type*)
Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c4
1 files changed, 2 insertions, 2 deletions
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());