| commit | d02484ae5766347fcc8a5068e3d3ff58f527f10f | [log] [tgz] |
|---|---|---|
| author | Phil Sorber <sorber@apache.org> | Tue Nov 12 11:04:08 2013 -0700 |
| committer | Igor Galić <i.galic@brainsware.org> | Tue Nov 12 23:56:49 2013 +0100 |
| tree | 048c853d86043e5957075bd64321fcaa23fcea74 | |
| parent | d0440078d5de4d9bf667776af78c4ae364b1f2cf [diff] |
TS-2341: Cast TSHttpStatus to int to suppress compiler warning in clang Because TSHttpStatus is an enum and has a max value less than 599, comparing <= of a variable of that type with a constant of that magnitude will always return true. Casting to int removes that guarantee and thus the warning.