diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-02-01 11:33:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-02-01 15:07:36 +0100 |
commit | c35d44ff72eb00c9f572870734e4d1832e8d9a5e (patch) | |
tree | 33699f6a3436cd40d321ad82f5888ebe3d57617a /basctl | |
parent | 2a94fddcc8cca382787313d0ac4fcbfe1b9a5df8 (diff) |
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/49081
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basctl')
0 files changed, 0 insertions, 0 deletions