From 0a74051300097be0bbb69f0a6712a07160f200ee Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Wed, 1 Jul 2009 18:22:19 -0400 Subject: 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. --- collection/collection_cnv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'collection/collection_cnv.c') 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); -- cgit