[PATCH libdrm 1/5] modetest: fix some compiler warnings

2012-04-21 Thread Paulo Zanoni
2012/3/29 Eugeni Dodonov : > I wonder if we could drop the dead^W#ifd 0'ed code here as well, perhaps > with a separate patch? I don't think it will get used again in the future > (but I might be wrong). > Removing #if 0'ed code won't fix compiler warnings, so if we do this, it should be done in a

Re: [PATCH libdrm 1/5] modetest: fix some compiler warnings

2012-04-21 Thread Paulo Zanoni
2012/3/29 Eugeni Dodonov : > I wonder if we could drop the dead^W#ifd 0'ed code here as well, perhaps > with a separate patch? I don't think it will get used again in the future > (but I might be wrong). > Removing #if 0'ed code won't fix compiler warnings, so if we do this, it should be done in a

[PATCH libdrm 1/5] modetest: fix some compiler warnings

2012-03-29 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:28, Paulo Zanoni wrote: > From: Paulo Zanoni > > Use unsigned int instead of int: > - modetest.c:89:1: warning: comparison between signed and unsigned integer > expressions [-Wsign-compare] > - modetest.c:97:1: warning: comparison between signed and unsigned integer >

Re: [PATCH libdrm 1/5] modetest: fix some compiler warnings

2012-03-29 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:28, Paulo Zanoni wrote: > From: Paulo Zanoni > > Use unsigned int instead of int: > - modetest.c:89:1: warning: comparison between signed and unsigned integer > expressions [-Wsign-compare] > - modetest.c:97:1: warning: comparison between signed and unsigned integer >

[PATCH libdrm 1/5] modetest: fix some compiler warnings

2012-03-29 Thread Paulo Zanoni
From: Paulo Zanoni Use unsigned int instead of int: - modetest.c:89:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] - modetest.c:97:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] - modetest.c:117:1: warning: compar

[PATCH libdrm 1/5] modetest: fix some compiler warnings

2012-03-29 Thread Paulo Zanoni
From: Paulo Zanoni Use unsigned int instead of int: - modetest.c:89:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] - modetest.c:97:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] - modetest.c:117:1: warning: compar