diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-07-01 18:22:19 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-07-02 08:16:35 -0400 |
commit | 0a74051300097be0bbb69f0a6712a07160f200ee (patch) | |
tree | da60d46a80a283027de1a17fa20b499709282e63 /collection/collection_cnv.c | |
parent | e0278b7d5e5a34827b8b1ef6bc1b15ceee889204 (diff) | |
download | ding-libs-0a74051300097be0bbb69f0a6712a07160f200ee.tar.gz ding-libs-0a74051300097be0bbb69f0a6712a07160f200ee.tar.xz ding-libs-0a74051300097be0bbb69f0a6712a07160f200ee.zip |
Queue and stack APIs using collection.
Patch adds two interfaces for stack and queue using
collection as underlaying implementation.
It also fixes a bug in the insterion code -
the unsigned properties were created as long.
Diffstat (limited to 'collection/collection_cnv.c')
-rw-r--r-- | collection/collection_cnv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collection/collection_cnv.c b/collection/collection_cnv.c index ca9c483..1ead75f 100644 --- a/collection/collection_cnv.c +++ b/collection/collection_cnv.c @@ -151,7 +151,7 @@ int insert_unsigned_property(struct collection_item *ci, index, flags, property, - COL_TYPE_LONG, + COL_TYPE_UNSIGNED, (void *)&number, sizeof(unsigned), NULL); |