From 455c428c066801431e98d70d5f57bf3ca3f37174 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 5 Feb 2008 14:28:06 +0200 Subject: [PATCH] Couple of int -> rpmVSFlags type corrections --- lib/rpminstall.c | 2 +- python/rpmts-py.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rpminstall.c b/lib/rpminstall.c index b9d7e85..8340cc0 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -852,7 +852,7 @@ int rpmRollback(rpmts ts, struct rpmInstallArguments_s * ia, const char ** argv) IDT ip; int niids = 0; int rc = 0; - int vsflags, ovsflags; + rpmVSFlags vsflags, ovsflags; int numAdded; int numRemoved; rpmps ps; diff --git a/python/rpmts-py.c b/python/rpmts-py.c index 39fbc24..17b8d1f 100644 --- a/python/rpmts-py.c +++ b/python/rpmts-py.c @@ -1484,7 +1484,7 @@ static PyObject * rpmts_new(PyTypeObject * subtype, PyObject *args, PyObject *kw rpmtsObject * s = (void *) PyObject_New(rpmtsObject, subtype); char * rootDir = "/"; - int vsflags = rpmExpandNumeric("%{?__vsflags}"); + rpmVSFlags vsflags = rpmExpandNumeric("%{?__vsflags}"); char * kwlist[] = {"rootdir", "vsflags", 0}; if (_rpmts_debug < 0) -- 2.7.4