diff options
author | David Robillard <d@drobilla.net> | 2012-08-09 01:41:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-09 01:41:00 +0000 |
commit | 020e59f28530ee2ee72f3567981fa7bff7b8e89b (patch) | |
tree | 4e5feabd4af7eb6b4573dc607d831f9eecb37b8e /src/qt4_in_gtk2.cpp | |
parent | 66f3296e7826c8beda165fcc029cc5a616dade6f (diff) | |
download | suil-020e59f28530ee2ee72f3567981fa7bff7b8e89b.tar.gz suil-020e59f28530ee2ee72f3567981fa7bff7b8e89b.tar.bz2 suil-020e59f28530ee2ee72f3567981fa7bff7b8e89b.zip |
Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes.
Fix broken suil_wrapper_new prototypes discovered by the above.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4630 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/qt4_in_gtk2.cpp')
-rw-r--r-- | src/qt4_in_gtk2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt4_in_gtk2.cpp b/src/qt4_in_gtk2.cpp index 4722413..c04e25c 100644 --- a/src/qt4_in_gtk2.cpp +++ b/src/qt4_in_gtk2.cpp @@ -133,7 +133,8 @@ SuilWrapper* suil_wrapper_new(SuilHost* host, const char* host_type_uri, const char* ui_type_uri, - LV2_Feature*** features) + LV2_Feature*** features, + unsigned n_features) { SuilWrapper* wrapper = (SuilWrapper*)malloc(sizeof(SuilWrapper)); wrapper->wrap = wrapper_wrap; |