summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'client.cxx')
-rw-r--r--client.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.cxx b/client.cxx
index 8140365..893ef84 100644
--- a/client.cxx
+++ b/client.cxx
@@ -45,7 +45,7 @@ namespace ICClient {
void Client::order(QString const& sku, Catalog const& catalog, Basket& order)
{
auto c_order = order.data();
- icclient_order(sku.toLatin1().constData(), catalog.c_catalog(), &c_order);
+ icclient_order(sku.toLatin1().constData(), catalog.constData(), &c_order);
order.setData(c_order);
}