From 9a28c36d323c14e31a3895ffe7dc905b815291f8 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. --- common/collection/collection_cnv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/collection/collection_cnv.c') diff --git a/common/collection/collection_cnv.c b/common/collection/collection_cnv.c index ca9c483e..1ead75f5 100644 --- a/common/collection/collection_cnv.c +++ b/common/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