summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-25 16:57:20 +0100
committerDan McGee <dan@archlinux.org>2011-04-21 02:04:53 +0200
commit91594a1ef895a6e47ece299b762d5476f1bca348 (patch)
tree36449c5a5918588eec39ba24401aafadc2e43798 /lib/libalpm/package.c
parentfdcfcf28a28006a4239e54a34129d3b099d0df0d (diff)
downloadpacman-91594a1ef895a6e47ece299b762d5476f1bca348.tar.gz
pacman-91594a1ef895a6e47ece299b762d5476f1bca348.tar.xz
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 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 9e1dbd52..035ff170 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -203,7 +203,7 @@ const char SYMEXPORT *alpm_pkg_get_md5sum(pmpkg_t *pkg)
static int decode_pgpsig(pmpkg_t *pkg) {
int len = strlen(pkg->pgpsig.encdata);
- const unsigned char *usline = (const unsigned char*)pkg->pgpsig.encdata;
+ const unsigned char *usline = (const unsigned char *)pkg->pgpsig.encdata;
int destlen = 0;
/* get the necessary size for the buffer by passing 0 */
int ret = base64_decode(NULL, &destlen, usline, len);