From 9ab4d805c3fe4188b758aa4523f8d154b8cab108 Mon Sep 17 00:00:00 2001 From: sletz Date: Tue, 5 Jun 2007 09:17:45 +0000 Subject: [PATCH] Remove compiler warning git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1488 0c269be4-1314-0410-8aa9-9f06e86f4224 --- tests/jack_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/jack_test.cpp b/tests/jack_test.cpp index 69a7a34c..ef05e149 100644 --- a/tests/jack_test.cpp +++ b/tests/jack_test.cpp @@ -413,7 +413,7 @@ int process3(jack_nframes_t nframes, void *arg) int process4(jack_nframes_t nframes, void *arg) { static jack_nframes_t last_time = jack_frame_time((jack_client_t*)arg); - static jack_nframes_t tolerance = cur_buffer_size * 0.1f; + static jack_nframes_t tolerance = (jack_nframes_t)(cur_buffer_size * 0.1f); jack_nframes_t cur_time = jack_frame_time((jack_client_t*)arg); jack_nframes_t delta_time = cur_time - last_time;