diff options
author | David Robillard <d@drobilla.net> | 2013-12-25 21:55:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-12-25 21:55:34 +0000 |
commit | a3fa1af0c127e134f4cf93fddf9b6191f29b290c (patch) | |
tree | fb8733d0b3ec03482a7ee0e34266c6c71f0cbec6 | |
parent | 60c37db799726e92212bf50468087d7545d8f72f (diff) | |
download | ingen-a3fa1af0c127e134f4cf93fddf9b6191f29b290c.tar.gz ingen-a3fa1af0c127e134f4cf93fddf9b6191f29b290c.tar.bz2 ingen-a3fa1af0c127e134f4cf93fddf9b6191f29b290c.zip |
Fix const casts.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5207 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | tests/ingen_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |