diff options
author | David Robillard <d@drobilla.net> | 2019-11-03 20:13:38 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-11-03 20:13:38 +0100 |
commit | e05826ac5d24d916be78cd594f172041f8dcc8bf (patch) | |
tree | 860e5d0d8ea3e65db2d33a3838bc3ba9402b1e23 /src/jalv_internal.h | |
parent | 87416aca2e6bedc8745a613a8bd09bf8c1cc9ee1 (diff) | |
download | jalv-e05826ac5d24d916be78cd594f172041f8dcc8bf.tar.gz jalv-e05826ac5d24d916be78cd594f172041f8dcc8bf.tar.bz2 jalv-e05826ac5d24d916be78cd594f172041f8dcc8bf.zip |
Fix crash with Qt
Qt requires that the argc and argv pointers passed to QApplication are valid
for the lifetime of the application.
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r-- | src/jalv_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h index 0fa8bd0..3fd7b05 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -341,7 +341,7 @@ struct Jalv { }; int -jalv_open(Jalv* jalv, int argc, char** argv); +jalv_open(Jalv* jalv, int* argc, char*** argv); int jalv_init(int* argc, char*** argv, JalvOptions* opts); |