Suppress 'type-limits' warning for GCC
@@ -3523,6 +3523,8 @@ int usrsctp_sysctl_set_ ## __field(uint32_t value) \
} \
}
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wtype-limits"
USRSCTP_SYSCTL_SET_DEF(sctp_sendspace, SCTPCTL_MAXDGRAM)
USRSCTP_SYSCTL_SET_DEF(sctp_recvspace, SCTPCTL_RECVSPACE)
USRSCTP_SYSCTL_SET_DEF(sctp_auto_asconf, SCTPCTL_AUTOASCONF)
@@ -3592,6 +3594,7 @@ USRSCTP_SYSCTL_SET_DEF(sctp_initial_cwnd, SCTPCTL_INITIAL_CWND)
#ifdef SCTP_DEBUG
USRSCTP_SYSCTL_SET_DEF(sctp_debug_on, SCTPCTL_DEBUG)
#endif
+#pragma GCC diagnostic push
#define USRSCTP_SYSCTL_GET_DEF(__field) \
uint32_t usrsctp_sysctl_get_ ## __field(void) { \
