summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pacman/trans.c2
-rw-r--r--src/pacman/trans.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/trans.c b/src/pacman/trans.c
index 2e67c7ba..90341770 100644
--- a/src/pacman/trans.c
+++ b/src/pacman/trans.c
@@ -36,7 +36,7 @@
/* Callback to handle transaction events
*/
-void cb_trans(unsigned short event, void *data1, void *data2)
+void cb_trans(unsigned char event, void *data1, void *data2)
{
char str[LOG_STR_LEN] = "";
diff --git a/src/pacman/trans.h b/src/pacman/trans.h
index 368da617..a1df6488 100644
--- a/src/pacman/trans.h
+++ b/src/pacman/trans.h
@@ -22,7 +22,7 @@
#define _PM_TRANS_H
/* callback to handle messages/notifications from pacman transactions */
-void cb_trans(unsigned short event, void *data1, void *data2);
+void cb_trans(unsigned char event, void *data1, void *data2);
#endif /* _PM_TRANS_H */