summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-27 00:59:02 +0200
committerDan McGee <dan@archlinux.org>2007-04-27 00:59:02 +0200
commit6a1dfdf2928dbdecc5b0f2f8a7648e7f5ea84341 (patch)
tree6c3a5869854cc65310b5b05b365bf0c9667549ef /lib
parent7bbcaaaae90770247f72cf213498b6934d949023 (diff)
downloadpacman-6a1dfdf2928dbdecc5b0f2f8a7648e7f5ea84341.tar.gz
pacman-6a1dfdf2928dbdecc5b0f2f8a7648e7f5ea84341.tar.xz
Set the correct type on the log callback function
Somehow missed this earlier when changing everything to types. unsigned short -> pmloglevel_t wherever necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 1d7c0004..44c7e10f 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -70,7 +70,7 @@ typedef enum _pmloglevel_t {
PM_LOG_FUNCTION = 0x10
} pmloglevel_t;
-typedef void (*alpm_cb_log)(unsigned short, char *);
+typedef void (*alpm_cb_log)(pmloglevel_t, char *);
int alpm_logaction(char *fmt, ...);
/*