From: Panu Matilainen Date: Tue, 5 Feb 2008 12:28:06 +0000 (+0200) Subject: Couple of int -> rpmVSFlags type corrections X-Git-Tag: rpm-4.6.0-rc1~1088 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=455c428c066801431e98d70d5f57bf3ca3f37174;p=platform%2Fupstream%2Frpm.git Couple of int -> rpmVSFlags type corrections --- 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)