commit | 6bb420106f77ef8f134a1d4c001668e832f96cc9 | [log] [tgz] |
---|---|---|
author | Andrey Zonov <zont@FreeBSD.org> | Thu Feb 14 12:32:06 2013 +0100 |
committer | Petr Machata <pmachata@redhat.com> | Thu Feb 14 12:32:06 2013 +0100 |
tree | 112642ebd9dfcf43d5472e673cd6ea2cee778816 | |
parent | 67f7adebdea215a583df9536e874ecd1a4162c4e [diff] [blame] |
Fix build with Clang on FreeBSD
diff --git a/lens_default.c b/lens_default.c index ed3d0e1..9f60dae 100644 --- a/lens_default.c +++ b/lens_default.c
@@ -673,7 +673,7 @@ unsigned neg = bits > sz * 4 ? 0xff : 0x00; int o = 0; - if (acc_fprintf(&o, stream, "%s<", "~" + (neg == 0x00)) < 0) + if (acc_fprintf(&o, stream, "%s<", &"~"[neg == 0x00]) < 0) return -1; size_t bitno = 0;