30.11.2018 15:58, Laurent Vivier wrote:

-    for (i = 0; i < 6; i++) {
+    for (i = 0; i < ARRAY_SIZE(s->bar_region_info); i++) {

I'm wondering if adding a #define to define the size of the array and
then using it with the for() loop wouldn't be better?

On the other side, it doesn't really matter, one way or another..
It's so.. trivial.. ;)

/mjt

Reply via email to