diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-26 10:55:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-26 11:02:44 -0400 |
commit | 5fad3dc36b3aad7f2ea13e56d838c3eb37fb029d (patch) | |
tree | 003aa7c231c6f2c01bb69d3a9d343ba1ddd78634 /src/common/container.h | |
parent | 9c8ec0aa20cda1787ee27a96e666af84f1081f5b (diff) | |
download | tor-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