aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-11-03 20:13:38 +0100
committerDavid Robillard <d@drobilla.net>2019-11-03 20:13:38 +0100
commite05826ac5d24d916be78cd594f172041f8dcc8bf (patch)
tree860e5d0d8ea3e65db2d33a3838bc3ba9402b1e23 /src/jalv_internal.h
parent87416aca2e6bedc8745a613a8bd09bf8c1cc9ee1 (diff)
downloadjalv-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.h2
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);