summaryrefslogtreecommitdiff
path: root/src/util/testpkg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/testpkg.c')
-rw-r--r--src/util/testpkg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/testpkg.c b/src/util/testpkg.c
index a64e6b34..66569f1e 100644
--- a/src/util/testpkg.c
+++ b/src/util/testpkg.c
@@ -28,12 +28,13 @@
#include <alpm.h>
-void output_cb(unsigned short level, char *msg)
+void output_cb(pmloglevel_t level, char *msg)
{
if(strlen(msg)) {
switch(level) {
case PM_LOG_ERROR: printf("error: "); break;
case PM_LOG_WARNING: printf("warning: "); break;
+ default: break;
}
puts(msg);
}