From: dlg Date: Sun, 28 Feb 2021 03:59:25 +0000 (+0000) Subject: big numbers need suffixes on some platforms. fix LACP_ADDR_SLOW_E64. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f9e3dedbae8d7f694649671c0d518073144c6836;p=openbsd big numbers need suffixes on some platforms. fix LACP_ADDR_SLOW_E64. deraadt@ says i broke hppa :( --- diff --git a/sys/net/if_aggr.c b/sys/net/if_aggr.c index 1e24e2537ea..5be2d4639d9 100644 --- a/sys/net/if_aggr.c +++ b/sys/net/if_aggr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_aggr.c,v 1.37 2021/02/27 01:19:11 dlg Exp $ */ +/* $OpenBSD: if_aggr.c,v 1.38 2021/02/28 03:59:25 dlg Exp $ */ /* * Copyright (c) 2019 The University of Queensland @@ -108,7 +108,7 @@ struct ether_slowproto_hdr { #define LACP_ADDR_C_BRIDGE { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x00 } #define LACP_ADDR_SLOW { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x02 } -#define LACP_ADDR_SLOW_E64 0x0180c2000002 +#define LACP_ADDR_SLOW_E64 0x0180c2000002ULL #define LACP_ADDR_NON_TPMR_BRIDGE { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x03 } struct lacp_tlv_hdr {