From da79a410543205cbcf25cd2d1355cc3f8faab3f2 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Mon, 9 May 2005 09:14:45 +0000 Subject: fixed cb_trans() prototype --- src/pacman/trans.c | 2 +- src/pacman/trans.h | 2 +- 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 */ -- cgit v1.2.3-70-g09d2