diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-10 10:36:51 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-06 14:54:04 -0500 |
commit | 60f01da78eaab9d036ac4af0d6bea27eb210c7cb (patch) | |
tree | 40ad9f0d01e8e46d825eb3d5e8de760daf8c2db8 /src/lib/ctime | |
parent | e9b663beaf153359033d78934cdf8f3d8bb9f2d9 (diff) | |
download | tor-60f01da78eaab9d036ac4af0d6bea27eb210c7cb.tar.gz tor-60f01da78eaab9d036ac4af0d6bea27eb210c7cb.zip |
Use smaller CPP error messages
Clang-format wants to split these messages across multiple lines,
which confuses the heck out of coccinelle.
Diffstat (limited to 'src/lib/ctime')
-rw-r--r-- | src/lib/ctime/di_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ctime/di_ops.c b/src/lib/ctime/di_ops.c index 7448a9973e..c14029b877 100644 --- a/src/lib/ctime/di_ops.c +++ b/src/lib/ctime/di_ops.c @@ -72,10 +72,10 @@ tor_memcmp(const void *a, const void *b, size_t len) * actually implementation-defined in standard C. So how do we * get away with assuming it? Easy. We check.) */ #if ((-60 >> 8) != -1) -#error "According to cpp, right-shift doesn't perform sign-extension." +#error "cpp says right-shift doesn't perform sign-extension." #endif #ifndef RSHIFT_DOES_SIGN_EXTEND -#error "According to configure, right-shift doesn't perform sign-extension." +#error "configure says right-shift doesn't perform sign-extension." #endif /* If v1 == v2, equal_p is ~0, so this will leave retval |