diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
commit | e45810113b150533611c7d9cb5f0f264e00a7394 (patch) | |
tree | 771581e87e36d6e4a4c81019c61b0dcb444c5096 /src/test/test_microdesc.c | |
parent | a48cb9fa436720c263dd41ce501076185aeb5872 (diff) | |
parent | 8b2041c343098052dcec03cd6eda7087bc5c7616 (diff) | |
download | tor-e45810113b150533611c7d9cb5f0f264e00a7394.tar.gz tor-e45810113b150533611c7d9cb5f0f264e00a7394.zip |
Merge branch 'pre_formatter_cleanups_squashed'
Diffstat (limited to 'src/test/test_microdesc.c')
-rw-r--r-- | src/test/test_microdesc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c index 63c7c6f709..f89025aa6c 100644 --- a/src/test/test_microdesc.c +++ b/src/test/test_microdesc.c @@ -491,7 +491,7 @@ test_md_generate(void *arg) } #ifdef HAVE_CFLAG_WOVERLENGTH_STRINGS -DISABLE_GCC_WARNING(overlength-strings) +DISABLE_GCC_WARNING("-Woverlength-strings") /* We allow huge string constants in the unit tests, but not in the code * at large. */ #endif @@ -686,7 +686,7 @@ static const char MD_PARSE_TEST_DATA[] = "id rsa1024 2A8wYpHxnkKJ92orocvIQBzeHlE\n" ; #ifdef HAVE_CFLAG_WOVERLENGTH_STRINGS -ENABLE_GCC_WARNING(overlength-strings) +ENABLE_GCC_WARNING("-Woverlength-strings") #endif /** More tests for parsing different kinds of microdescriptors, and getting |