From: Oliver Kurth Date: Fri, 2 Nov 2018 22:28:24 +0000 (-0700) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.0.0~324 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f424de6e55bf08833de86b2b62a3797351b3c3d4;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_types.h b/open-vm-tools/lib/include/vm_basic_types.h index 74da7128a..585fe59c3 100644 --- a/open-vm-tools/lib/include/vm_basic_types.h +++ b/open-vm-tools/lib/include/vm_basic_types.h @@ -854,7 +854,7 @@ typedef void * UserVA; * will convert any !=0 to a 1. */ #define LIKELY(_exp) __builtin_expect(!!(_exp), 1) -#define UNLIKELY(_exp) __builtin_expect((_exp), 0) +#define UNLIKELY(_exp) __builtin_expect(!!(_exp), 0) #else #define LIKELY(_exp) (_exp) #define UNLIKELY(_exp) (_exp)