summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-05-09 09:14:45 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-05-09 09:14:45 +0000
commitda79a410543205cbcf25cd2d1355cc3f8faab3f2 (patch)
tree26053c726b065472411f3fcf904301da4ba64456
parent2b0c91cff83742d02d81cbdcf328639c444de9a2 (diff)
downloadpacman-da79a410543205cbcf25cd2d1355cc3f8faab3f2.tar.xz
fixed cb_trans() prototype
-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 */