summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-21 12:07:27 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-21 12:07:27 +0300
commitd712fcb5c1d56b5bdf26f378ce6b3273a9ada779 (patch)
treeae06843259bfca912aeb0f1a876a7554bf4e73aa
parenta9e039edb442eb4b0060df7ee533415735aa5069 (diff)
downloadrpm-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.c4
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)