Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls_cache: fix implicit conversion err on i386/i686 Previously on arch's where `apr_ssize_t` is an `int` (e.g. i386) the `tls_cache_get()` function produced an implicit conversion error of the form: ``` error: implicit conversion changes signedness: 'unsigned int' to 'apr_ssize_t' (aka 'int') ``` This commit resolves this error by: 1. Checking the two casts performed by this function are within the range of the types being cast to. 2. Making the cast to `apr_ssize_t` explicit.
- Loading branch information