summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ord.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ord.cxx b/ord.cxx
index c2c9723..2dccca1 100644
--- a/ord.cxx
+++ b/ord.cxx
@@ -14,7 +14,7 @@ namespace QInterchange {
{
init(order);
for (size_t i = 0; i < order->nitems; i++)
- addItem(new Item{&order->items[i]});
+ addItem(new Item{order->items[i]});
}
void Ord::init(struct interchange_ord_order *order)