From a3fa1af0c127e134f4cf93fddf9b6191f29b290c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 25 Dec 2013 21:55:34 +0000 Subject: Fix const casts. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5207 a436a847-0d15-0410-975c-d299462d15a1 --- tests/ingen_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index 6b46b30f..cbf40817 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -229,7 +229,7 @@ main(int argc, char** argv) /* cerr << "READ " << out.len << " BYTES" << endl; - LV2_Atom* atom = (LV2_Atom*)out.buf; + const LV2_Atom* atom = (const LV2_Atom*)out.buf; cerr << sratom_to_turtle( sratom, &world->uri_map().urid_unmap_feature()->urid_unmap, @@ -237,7 +237,7 @@ main(int argc, char** argv) NULL, NULL, atom->type, atom->size, LV2_ATOM_BODY(atom)) << endl; */ - if (!atom_reader.write((LV2_Atom*)out.buf)) { + if (!atom_reader.write((const LV2_Atom*)out.buf)) { return EXIT_FAILURE; } -- cgit v1.2.1