Alex Deucher <alexdeuc...@gmail.com> writes: > On Mon, Feb 1, 2016 at 4:48 PM, Eric Anholt <e...@anholt.net> wrote: >> I have a hard time typing anything else at this point. >> >> Signed-off-by: Eric Anholt <e...@anholt.net> >> --- >> main.c | 21 ++++++++++-------- >> ops.c | 2 +- >> rendercheck.h | 58 +++++++++++++++++++++++------------------------- >> t_blend.c | 8 +++---- >> t_bug7366.c | 32 +++++++++++++-------------- >> t_composite.c | 12 +++++----- >> t_dstcoords.c | 6 ++--- >> t_fill.c | 6 ++--- >> t_gradient.c | 32 +++++++++++++-------------- >> t_gtk_argb_xbgr.c | 8 +++---- >> t_libreoffice_xrgb.c | 10 ++++----- >> t_repeat.c | 22 +++++++++---------- >> t_srccoords.c | 14 ++++++------ >> t_triangles.c | 24 ++++++++++---------- >> t_tsrccoords.c | 12 +++++----- >> t_tsrccoords2.c | 14 ++++++------ >> tests.c | 62 >> ++++++++++++++++++++++++++-------------------------- >> 17 files changed, 171 insertions(+), 172 deletions(-) >> >> diff --git a/main.c b/main.c >> index a7035b9..b5d67cc 100644 >> --- a/main.c >> +++ b/main.c >> @@ -27,7 +27,7 @@ >> #include <strings.h> >> #include <getopt.h> >> >> -Bool is_verbose = FALSE, minimalrendering = FALSE; >> +bool is_verbose = false, minimalrendering = false; >> int enabled_tests = ~0; /* Enable all tests by default */ >> >> int format_whitelist_len = 0; >> @@ -163,7 +163,8 @@ int main(int argc, char **argv) >> Display *dpy; >> XEvent ev; >> int i, o, maj, min; >> - static Bool is_sync = FALSE, print_version = FALSE; >> + static int is_sync = false, print_version = false; > > Did you mean bool here rather than int? > > Alex
No, because it's an argument to getopt_long.
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel