diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-21 12:07:27 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-21 12:07:27 +0300 |
commit | d712fcb5c1d56b5bdf26f378ce6b3273a9ada779 (patch) | |
tree | ae06843259bfca912aeb0f1a876a7554bf4e73aa | |
parent | a9e039edb442eb4b0060df7ee533415735aa5069 (diff) | |
download | rpm-d712fcb5c1d56b5bdf26f378ce6b3273a9ada779.tar.gz rpm-d712fcb5c1d56b5bdf26f378ce6b3273a9ada779.tar.bz2 rpm-d712fcb5c1d56b5bdf26f378ce6b3273a9ada779.zip |
Change fdstat functions to take fdOpx enum to fix int/enum mismatches
-rw-r--r-- | rpmio/rpmio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c index e515530c3..fc166d2b8 100644 --- a/rpmio/rpmio.c +++ b/rpmio/rpmio.c @@ -270,14 +270,14 @@ static const char * fdbg(FD_t fd) return buf; } -static void fdstat_enter(FD_t fd, int opx) +static void fdstat_enter(FD_t fd, fdOpX opx) { if (fd == NULL) return; if (fd->stats != NULL) (void) rpmswEnter(fdOp(fd, opx), (ssize_t) 0); } -static void fdstat_exit(FD_t fd, int opx, ssize_t rc) +static void fdstat_exit(FD_t fd, fdOpX opx, ssize_t rc) { if (fd == NULL) return; if (rc == -1) |