aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-17 13:33:14 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-17 13:33:14 +0200
commitada3235733436cf5f8654c35c0558c7cc70a847b (patch)
treedda0693bd504e18fc2577dffc84099c2c63c8ab8 /bin
parentc540355c1de71c413c7ea32cbc7e8c4fcf15de7c (diff)
downloadsynthpod-ada3235733436cf5f8654c35c0558c7cc70a847b.tar.xz
fix warnings reported by -Wextra.
Diffstat (limited to 'bin')
-rw-r--r--bin/synthpod_alsa.c5
-rw-r--r--bin/synthpod_jack.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/bin/synthpod_alsa.c b/bin/synthpod_alsa.c
index 03e5edc1..6ff54970 100644
--- a/bin/synthpod_alsa.c
+++ b/bin/synthpod_alsa.c
@@ -162,7 +162,7 @@ _rt_thread(void *data, Eina_Thread thread)
pcmi_pcm_start(handle->pcmi);
while(!handle->kill)
{
- int na = pcmi_pcm_wait(pcmi);
+ uint32_t na = pcmi_pcm_wait(pcmi);
// current time is next time from last cycle
_ntp_clone(&handle->cur_ntp, &handle->nxt_ntp);
@@ -673,6 +673,9 @@ _osc_schedule_frames2osc(osc_schedule_handle_t instance, int64_t frames)
return timestamp;
}
+
+EAPI_MAIN int
+elm_main(int argc, char **argv);
EAPI_MAIN int
elm_main(int argc, char **argv)
diff --git a/bin/synthpod_jack.c b/bin/synthpod_jack.c
index 95c11448..6ce12ee8 100644
--- a/bin/synthpod_jack.c
+++ b/bin/synthpod_jack.c
@@ -1051,6 +1051,9 @@ _osc_schedule_frames2osc(osc_schedule_handle_t instance, int64_t frames)
#endif // JACK_HAS_CYCLE_TIMES
EAPI_MAIN int
+elm_main(int argc, char **argv);
+
+EAPI_MAIN int
elm_main(int argc, char **argv)
{
static prog_t handle;