Browse Source

Remove compiler warning

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1488 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.63
sletz 18 years ago
parent
commit
9ab4d805c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/jack_test.cpp

+ 1
- 1
tests/jack_test.cpp View File

@@ -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;


Loading…
Cancel
Save