From: Arran Cudbard-Bell Date: Wed, 22 Nov 2023 23:06:29 +0000 (-0600) Subject: GCC specific typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=125ea5f650bdf3d8ae19d812a74a08f570291f9f;p=thirdparty%2Ffreeradius-server.git GCC specific typo --- diff --git a/src/lib/server/cf_parse.h b/src/lib/server/cf_parse.h index a3fdd84496e..38629556b5b 100644 --- a/src/lib/server/cf_parse.h +++ b/src/lib/server/cf_parse.h @@ -331,7 +331,7 @@ _Generic((_ct), \ * * @{ */ -DIAG_OFF(attribute) +DIAG_OFF(attributes) typedef enum CC_HINT(flag_enum) { CONF_FLAG_SUBSECTION = (1 << 9), //!< Instead of putting the information into a ///< configuration structure, the configuration @@ -363,7 +363,7 @@ typedef enum CC_HINT(flag_enum) { //!< or is_set_ptr. CONF_FLAG_OK_MISSING = (1 << 22), //!< OK if it's missing } conf_parser_flags_t; -DIAG_ON(attribute) +DIAG_ON(attributes) /** @} */ diff --git a/src/lib/util/types.h b/src/lib/util/types.h index 66781e01d4e..a64a534133b 100644 --- a/src/lib/util/types.h +++ b/src/lib/util/types.h @@ -400,10 +400,10 @@ _Generic(&(_ct), \ int32_t ** : FR_TYPE_INT32, \ int64_t * : FR_TYPE_INT64, \ int64_t ** : FR_TYPE_INT64, \ - float * : FR_TYPE_FLOAT, \ - float ** : FR_TYPE_FLOAT , \ - double * : FR_TYPE_DOUBLE, \ - double ** : FR_TYPE_DOUBLE) + float * : FR_TYPE_FLOAT32, \ + float ** : FR_TYPE_FLOAT32, \ + double * : FR_TYPE_FLOAT64, \ + double ** : FR_TYPE_FLOAT64) extern fr_table_num_ordered_t const fr_type_table[]; extern size_t fr_type_table_len;