]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
GCC specific typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 22 Nov 2023 23:06:29 +0000 (17:06 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 22 Nov 2023 23:06:29 +0000 (17:06 -0600)
src/lib/server/cf_parse.h
src/lib/util/types.h

index a3fdd84496e854d9a7ffff5d98a7c5e9af71c7db..38629556b5be8f934e0c681d09fd13085ddc9464 100644 (file)
@@ -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)
 
 /** @} */
 
index 66781e01d4e79e16c406cf2b295e47e2a92971c2..a64a534133be428bae6be329d3d2298749f163b1 100644 (file)
@@ -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;