diff options
author | thakis <thakis@chromium.org> | 2016-02-02 08:00:21 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-02 16:01:14 +0000 |
commit | 6ef06b461ccae125f8c8d6e33dde10c550ff3780 (patch) | |
tree | 155819c70246e3f1d11f774f0d8b8d2d65e671f9 /third_party/google_toolbox_for_mac | |
parent | 3f0118e3ef62194270b131e988079b82c0e26b7d (diff) | |
download | chromium_src-6ef06b461ccae125f8c8d6e33dde10c550ff3780.zip chromium_src-6ef06b461ccae125f8c8d6e33dde10c550ff3780.tar.gz chromium_src-6ef06b461ccae125f8c8d6e33dde10c550ff3780.tar.bz2 |
Make dynamic_annotations build with -Wconstant-conversion from newer clangs.
After http://llvm.org/viewvc/llvm-project?rev=259271&view=rev, clang points
out that lineno is sometimes assigned a value > SHRT_MAX, which causes
an overflow. All values are smaller than USHRT_MAX, so just make lineno
an unsigned short.
No behavior change.
BUG=none
Review URL: https://codereview.chromium.org/1653973005
Cr-Commit-Position: refs/heads/master@{#372952}
Diffstat (limited to 'third_party/google_toolbox_for_mac')
0 files changed, 0 insertions, 0 deletions