diff options
author | deva <deva> | 2011-07-17 12:48:12 +0000 |
---|---|---|
committer | deva <deva> | 2011-07-17 12:48:12 +0000 |
commit | 96c9d640bed5485e70c5d38883d69d111b9ec386 (patch) | |
tree | df5c85796409a6e1c60b6330c1c9696fc5de2bea | |
parent | 9cda7bfb4b01101d2a532270da41a3ea552a433f (diff) |
Fixed compiler warning.
-rw-r--r-- | drumgizmo/input/test/test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/input/test/test.cc b/drumgizmo/input/test/test.cc index 3799f07..b7b4a7d 100644 --- a/drumgizmo/input/test/test.cc +++ b/drumgizmo/input/test/test.cc @@ -86,7 +86,7 @@ event_t *Test::run(size_t pos, size_t nsamples, size_t *nevents) *nevents = 1; event_t *evs = (event_t *)malloc(sizeof(event_t)); evs[0].type = TYPE_ONSET; - if(len != -1 && pos > len * 44100) evs[0].type = TYPE_STOP; + if(len != -1 && (int)pos > len * 44100) evs[0].type = TYPE_STOP; if(instr != -1) evs[0].instrument = instr; else evs[0].instrument = rand() % 32; |