On Mon, 22 May 2017, Tommi Rantala wrote: > src/svsematest/svsematest.c:637:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (receiver[i].mindiff == -1) > ^~ > > Signed-off-by: Tommi Rantala <tommi.t.rantala@xxxxxxxxx> > --- > src/svsematest/svsematest.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/svsematest/svsematest.c b/src/svsematest/svsematest.c > index eeb8285..9adbb52 100644 > --- a/src/svsematest/svsematest.c > +++ b/src/svsematest/svsematest.c > @@ -634,7 +634,7 @@ int main(int argc, char *argv[]) > sender[i].cpu, sender[i].samples); > } > for (i = 0; i < num_threads; i++) { > - if (receiver[i].mindiff == -1) > + if (receiver[i].mindiff == UINT_MAX) > printf("#%d -> #%d (not yet ready)\n", > i*2+1, i*2); > else > -- Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>> -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html