diff options
author | onqtam <vik.kirilov@gmail.com> | 2017-05-09 20:24:32 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2017-05-16 00:22:25 +0300 |
commit | fdd233c34fdf08f24e4739e45a10d57a719de7a9 (patch) | |
tree | 27c5d77e4271ab8a7ed54c9abc50703951226c0b /doctest/parts/doctest_impl.h | |
parent | 100f9ae0e8fff74db8cab977889f1d35c77ca325 (diff) |
fixing static analysis builds
Diffstat (limited to 'doctest/parts/doctest_impl.h')
-rw-r--r-- | doctest/parts/doctest_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doctest/parts/doctest_impl.h b/doctest/parts/doctest_impl.h index 8e52213..7be0081 100644 --- a/doctest/parts/doctest_impl.h +++ b/doctest/parts/doctest_impl.h @@ -149,7 +149,7 @@ namespace detail const char* temp = in; while(temp && *temp) ++temp; - return temp - in; + return unsigned(temp - in); } template <typename T> |