On Wed, Nov 25, 2015 at 12:16:30PM -0800, Nithin Raju wrote:
> A quick implementation of MIN() didn't take into account operator
> precedence as shown in the following example:
> 
>  #include <stdio.h>
>  #define MYMIN(_a, _b) (_a) > (_b) ? (_b) : (_a)
>  int main() {
>      if (MYMIN(512, 256) < 14) {
>          printf("buggy MYMIN\n");
>      }
>      return 0;
>  }
> 
> Signed-off-by: Nithin Raju <nit...@vmware.com>
> Acked-by: Russell Bryant <russ...@ovn.org>

Applied, thanks Nithin and Russell.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to