Use std::max
(with the nice side-effect of removing one more false -Wsign-compare from Android builds where USHRT_MAX is erroneously of type unsigned int) (the original cast of rMax (of some unsigned type) to (signed) long had probably originally been added to silence some signed-vs.-unsigned comparison warning, so would no longer be necessary when using std::max) Change-Id: I26212e731e26d885b848c7351a9ca5f9735e1f78 Reviewed-on: https://gerrit.libreoffice.org/49081Tested-by:Jenkins <ci@libreoffice.org> Reviewed-by:
Stephan Bergmann <sbergman@redhat.com>
Showing
Please
register
or
sign in
to comment