zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 51a52afa20abb351d5fc6afd34932a5e4c9d64c2
parent 22bdc91da072a0f460cfba8b5bf30d387591b00e
Author: Hans Petter Selasky <[email protected]>
Date:   Sun, 11 Feb 2018 16:44:12 +0100

Fix clang warning about different signedness.

Signed-off-by: Hans Petter Selasky <[email protected]>

Diffstat:
Msrc/Tests/MessageTest.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Tests/MessageTest.h b/src/Tests/MessageTest.h @@ -303,10 +303,10 @@ class MessageTest:public CxxTest::TestSuite while(ms->bToU->hasNext()) { const char *msg = ms->bToU->read(); if(state == 0) { - TS_ASSERT_EQUALS(rtosc_narguments(msg), 0); + TS_ASSERT_EQUALS(rtosc_narguments(msg), 0U); state = 1; } else if(state == 1) { - TS_ASSERT_EQUALS(rtosc_narguments(msg), 1); + TS_ASSERT_EQUALS(rtosc_narguments(msg), 1U); value = rtosc_argument(msg, 0).i; state = 2; } else if(state == 2) {