diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2023-04-20 22:56:22 +0200 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2023-04-21 00:01:41 +0200 |
commit | a4f61b09f6f15e3570652acb9c24200072878845 (patch) | |
tree | 503f2dcd008d0c21f7f036e9ffd63161ab5be7fc /math/readstat/files/patch-src_readstat__variable.c | |
parent | graphics/opencv: mark build-time dependencies correctly (diff) |
math/readstat: another attempt at getting clang16 on FreeBSD14 to compile this
Diffstat (limited to 'math/readstat/files/patch-src_readstat__variable.c')
-rw-r--r-- | math/readstat/files/patch-src_readstat__variable.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/math/readstat/files/patch-src_readstat__variable.c b/math/readstat/files/patch-src_readstat__variable.c index 699c88937a9e..4bc2fe0c7ad8 100644 --- a/math/readstat/files/patch-src_readstat__variable.c +++ b/math/readstat/files/patch-src_readstat__variable.c @@ -1,6 +1,6 @@ ---- src/readstat_variable.c.orig 2023-02-19 12:39:09 UTC +--- src/readstat_variable.c.orig 2020-08-25 16:29:50 UTC +++ src/readstat_variable.c -@@ -2,7 +2,7 @@ +@@ -2,10 +2,10 @@ #include <stdlib.h> #include "readstat.h" @@ -8,4 +8,8 @@ +static readstat_value_t make_blank_value(void); static readstat_value_t make_double_value(double dval); - static readstat_value_t make_blank_value() { +-static readstat_value_t make_blank_value() { ++static readstat_value_t make_blank_value(void) { + readstat_value_t value = { .is_system_missing = 1, .v = { .double_value = NAN }, .type = READSTAT_TYPE_DOUBLE }; + return value; + } |