commit 602f42061d68d131bfca60bd768fdf57dfe3dd26 Author: Marcin Banasiak Date: Fri Sep 7 18:38:41 2012 +0200 Use unsigned type for pkg->recno rpmdbGetIteratorOffset() as well as rpmmiInstance() that are used to get recno value return unsigned value. diff --git a/pkg.h b/pkg.h index eb2e95f..58857e6 100644 --- a/pkg.h +++ b/pkg.h @@ -108,7 +108,7 @@ struct pkg { int groupid; /* package group id (see pkgroups.c) */ /* for installed packages */ - int32_t recno; /* db's ID of the header */ + uint32_t recno; /* db's ID of the header */ int32_t itime; /* date of installation */ /* private, don't touch */