summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-01-29 15:45:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-01-29 16:46:51 +0100
commit024f3691a2ea865121fbdff6bb6b3d86120f5909 (patch)
treea688e415c0be6061022456d16cba1e7379719c54 /avmedia
parent1583250e90e330cc505e23cca0f5c77a5cc86b03 (diff)
There should be no need for o3tl::make_unsigned here
...to avoid hypothetical warnings when comparing an unsigned value to a signed constant Change-Id: Ife9f0be863443ea06fcd6dd49aba651f49659f02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87690 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/gstreamer/gstplayer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index bf934235a992..bba734b34c79 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -30,7 +30,6 @@
#include <math.h>
#include <cppuhelper/supportsservice.hxx>
-#include <o3tl/safeint.hxx>
#include <sal/log.hxx>
#include <rtl/string.hxx>
#include <salhelper/thread.hxx>
@@ -126,7 +125,7 @@ void MissingPluginInstaller::report(
return;
}
std::size_t len = std::strlen(det);
- if (len > o3tl::make_unsigned(SAL_MAX_INT32)) {
+ if (len > SAL_MAX_INT32) {
SAL_WARN("avmedia.gstreamer", "detail string too long");
g_free(det);
return;