sal/osl/unx/salinit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 45aaf4d48f7b68e0a798fb16b8ac18fb4fce8d95 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Mar 30 10:37:30 2017 +0200 loplugin:loopvartoosmall Change-Id: If714cafd9f2786610a03b1f5f6466a9ea06e46e6 diff --git a/sal/osl/unx/salinit.cxx b/sal/osl/unx/salinit.cxx index fdde9e84980c..b8e6555d81e3 100644 --- a/sal/osl/unx/salinit.cxx +++ b/sal/osl/unx/salinit.cxx @@ -64,7 +64,7 @@ void sal_detail_initialize(int argc, char ** argv) { openMax = 1024; } assert(openMax >= 0 && openMax <= std::numeric_limits< int >::max()); - for (int fd = 3; fd < openMax; ++fd) { + for (int fd = 3; fd < int(openMax); ++fd) { struct stat s; if (fstat(fd, &s) != -1 && S_ISREG(s.st_mode)) close(fd); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits