From c023ba1bd56e573ea50b44fe4f07cd28dbee3776 Mon Sep 17 00:00:00 2001 From: Axel Heider Date: Mon, 29 May 2023 17:34:06 +0200 Subject: [PATCH] libvirtio: add brackets to make expression an atom Signed-off-by: Axel Heider --- libs/libvirtio/include/virtioarm/virtio_net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libvirtio/include/virtioarm/virtio_net.h b/libs/libvirtio/include/virtioarm/virtio_net.h index 5a3e32ad..6b7cbcee 100644 --- a/libs/libvirtio/include/virtioarm/virtio_net.h +++ b/libs/libvirtio/include/virtioarm/virtio_net.h @@ -9,7 +9,7 @@ /* Maximum transmission unit for Ethernet interface */ #define ETHERNET_HEADER_SIZE 14 #define MAX_MTU_DATA 1500 -#define MAX_MTU MAX_MTU_DATA + ETHERNET_HEADER_SIZE +#define MAX_MTU (MAX_MTU_DATA + ETHERNET_HEADER_SIZE) typedef struct virtio_net_callbacks { int (*tx_callback)(char *data, size_t length, virtio_net_t *virtio_net);