summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2012-03-26 19:34:04 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-05 11:20:09 -0700
commitb597c0e70474f1ee40fd78d006fc1da1a04d4bba (patch)
treed19ce6bbe69e1fa7b2aa61d960f328b4a0f39919
parent16197f9cc3e9f732a41edf07d9e314288b86d161 (diff)
downloadding-libs-b597c0e70474f1ee40fd78d006fc1da1a04d4bba.tar.gz
ding-libs-b597c0e70474f1ee40fd78d006fc1da1a04d4bba.tar.xz
ding-libs-b597c0e70474f1ee40fd78d006fc1da1a04d4bba.zip
Use right macro
Use correct macro instead of type casting.
-rw-r--r--collection/collection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collection/collection.c b/collection/collection.c
index 1b7762a..4b8e744 100644
--- a/collection/collection.c
+++ b/collection/collection.c
@@ -470,7 +470,7 @@ int col_insert_item_into_current(struct collection_item *collection,
TRACE_INFO_STRING("Property:", item->property);
TRACE_INFO_NUMBER("Type:", item->type);
if (col_find_property(collection, item->property, 0, 1, item->type, &parent)) {
- TRACE_INFO_NUMBER("Current:", (unsigned)(parent->next));
+ TRACE_INFO_LNUMBER("Current:", parent->next);
current = parent->next;
parent->next = current->next;
if (header->last == current) header->last = parent;