M meson.build => meson.build +3 -1
@@ 64,7 64,9 @@ c_args = [
'-fvisibility=hidden',
'-ffast-math',
'-Wno-unused-parameter',
- '-Wno-unused-function']
+ '-Wno-unused-function',
+ '-Wno-unknown-warning-option',
+ '-Wno-null-pointer-subtraction']
dsp_srcs = [
join_paths('src', 'patchmatrix.c'),
M meson_options.txt => meson_options.txt +1 -1
@@ 5,4 5,4 @@ option('build-tests',
type : 'boolean',
value : true)
-option('version', type : 'string', value : '0.27.39')
+option('version', type : 'string', value : '0.27.41')
M src/patchmatrix_db.c => src/patchmatrix_db.c +2 -2
@@ 726,7 726,7 @@ _port_find_by_body(app_t *app, jack_port_t *body)
void
_mixer_spawn(app_t *app, unsigned nsinks, unsigned nsources)
{
- pthread_t pid = vfork();
+ pid_t pid = vfork();
if(pid == 0) // child
{
char sink_nums[32];
@@ 786,7 786,7 @@ _mixer_free(mixer_shm_t *mixer_shm)
void
_monitor_spawn(app_t *app, unsigned nsinks)
{
- pthread_t pid = vfork();
+ pid_t pid = vfork();
if(pid == 0) // child
{
char sink_nums [32];
M src/patchmatrix_nk.c => src/patchmatrix_nk.c +1 -1
@@ 1274,7 1274,7 @@ _get_path(const char *data_dir, const char *fn)
}
static const char *
-_get_data_dir()
+_get_data_dir(void)
{
// check whether build-time defined data dir exists
DIR *dir = opendir(PATCHMATRIX_DATA_DIR);