diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-08-28 13:21:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-08-28 13:21:16 +0200 |
commit | 09c09fa20b93a236c639a2ce957fc634c8688ce5 (patch) | |
tree | e96cce6f2714247925caefbce718fb8ee9b9e572 | |
parent | 6dc887d8d54653203bb01ed9ff0509dd789d2e2f (diff) |
warning C4805: == : unsafe mix of type[s]
Change-Id: I1bbcfbbab6e077d4516a22c2e0c0d4ec4dd12aca
-rw-r--r-- | sc/source/core/tool/scmatrix.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index 2640bfb617fe..1147efd7e26a 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -1009,7 +1009,7 @@ size_t WalkAndMatchElements<double>::compare(const MatrixImplType::element_block MatrixImplType::boolean_block_type::const_iterator itEnd = MatrixImplType::boolean_block_type::end(*node.data); for (; it != itEnd; ++it, ++nCount) { - if (*it == maMatchValue) + if (int(*it) == maMatchValue) { return mnIndex + nCount; } |