From fa299eec0cca00e87a826e2c487705cb6c80c217 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 8 Jan 2009 12:24:50 +0200 Subject: [PATCH] Cast to intptr_t instead of int to kick out the final warning --- python/rpmmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/rpmmodule.c b/python/rpmmodule.c index 2fa7eef..bf1356d 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -491,6 +491,6 @@ void init_rpm(void) REGISTER_ENUM(RPMDBI_PACKAGES); - REGISTER_ENUM((int)RPMAL_NOMATCH); + REGISTER_ENUM((intptr_t)RPMAL_NOMATCH); } -- 2.7.4