diff --git a/src/net/libslirp/glib/glib.h b/src/net/libslirp/glib/glib.h index e979b12a..3563f7f5 100644 --- a/src/net/libslirp/glib/glib.h +++ b/src/net/libslirp/glib/glib.h @@ -68,10 +68,10 @@ #define GLIB_SIZEOF_VOID_P 8 #ifndef MAX -#define MAX(a, b) (a > b ? a : b) +#define MAX(a, b) ((a) > (b) ? (a) : (b)) #endif #ifndef MIN -#define MIN(a, b) (a < b ? a : b) +#define MIN(a, b) ((a) < (b) ? (a) : (b)) #endif #ifndef TRUE