X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fmacros.h;fp=src%2Fcommon%2Fmacros.h;h=9637a383013629baf868dfca60dc15a65da05757;hp=90849ed30ae5e543a577f9214bc33152864751f8;hb=33a7d8c5ca99a1bbd1c2b915f9b8a37203ae072a;hpb=9cc0ed0d6d8ed76fd453adb1dd4276e94ee8590a diff --git a/src/common/macros.h b/src/common/macros.h index 90849ed30..9637a3830 100644 --- a/src/common/macros.h +++ b/src/common/macros.h @@ -63,7 +63,7 @@ void *zmalloc(size_t len) #endif #ifndef max_t -#define max_t(type, a, b) ((type) max(a, b)) +#define max_t(type, a, b) max((type) a, (type) b) #endif #ifndef min