• Andrea Canciani's avatar
    perf: Don't use a boolean value as integer · 58f79a85
    Andrea Canciani authored
    Although in this case the boolean values are guaranteed to be 1/0,
    using them as true/false (in an if condition) seems much saner than
    using them to limit the number of iterations on a for loop.
    cairo-perf-micro.c:221:5: warning: cannot optimize possibly infinite
    loops [-Wunsafe-loop-optimizations]