aboutsummaryrefslogtreecommitdiff
path: root/src/common/container.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-26 10:55:23 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-26 11:02:44 -0400
commit5fad3dc36b3aad7f2ea13e56d838c3eb37fb029d (patch)
tree003aa7c231c6f2c01bb69d3a9d343ba1ddd78634 /src/common/container.h
parent9c8ec0aa20cda1787ee27a96e666af84f1081f5b (diff)
downloadtor-5fad3dc36b3aad7f2ea13e56d838c3eb37fb029d.tar.gz
tor-5fad3dc36b3aad7f2ea13e56d838c3eb37fb029d.zip
Fix a warning when using glibc's strcspn with clang.
With glibc 2.15 and clang 3.0, I get warnings from where we use the strcpsn implementation in the header as strcspn(string, "="). This is apparently because clang sees that part of the strcspn macro expands to "="[2], and doesn't realize that that part of the macro is only evaluated when "="[1] != 0.
Diffstat (limited to 'src/common/container.h')
0 files changed, 0 insertions, 0 deletions