summaryrefslogtreecommitdiff
path: root/lib/rpmdb_internal.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-29 12:04:46 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-29 12:04:46 +0200
commit881f14d277eefc70d65bf48b1837f0219572f397 (patch)
treec426f376620e983d4eb5360743ba150e448223a8 /lib/rpmdb_internal.h
parent2d918b5aa0a4afec407937bb6e1d4b7ae6ba4be3 (diff)
downloadlibrpm-tizen-881f14d277eefc70d65bf48b1837f0219572f397.tar.gz
librpm-tizen-881f14d277eefc70d65bf48b1837f0219572f397.tar.bz2
librpm-tizen-881f14d277eefc70d65bf48b1837f0219572f397.zip
Use proper type (unsigned) for index set offset/count
Diffstat (limited to 'lib/rpmdb_internal.h')
-rw-r--r--lib/rpmdb_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmdb_internal.h b/lib/rpmdb_internal.h
index 485d9adf9..d19733c4e 100644
--- a/lib/rpmdb_internal.h
+++ b/lib/rpmdb_internal.h
@@ -36,8 +36,8 @@ struct _dbiIndexItem {
* Items retrieved from the index database.
*/
struct _dbiIndexSet {
-struct _dbiIndexItem * recs; /*!< array of records */
- int count; /*!< number of records */
+ struct _dbiIndexItem * recs; /*!< array of records */
+ unsigned int count; /*!< number of records */
};
/** \ingroup dbi