summaryrefslogtreecommitdiff
path: root/multimedia/mp4v2/patches/patch-libutil_Utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mp4v2/patches/patch-libutil_Utility.h')
-rw-r--r--multimedia/mp4v2/patches/patch-libutil_Utility.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/mp4v2/patches/patch-libutil_Utility.h b/multimedia/mp4v2/patches/patch-libutil_Utility.h
new file mode 100644
index 00000000000..370b716c72c
--- /dev/null
+++ b/multimedia/mp4v2/patches/patch-libutil_Utility.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-libutil_Utility.h,v 1.1 2021/04/13 16:32:09 adam Exp $
+
+Fix "cannot be narrowed to type 'int'" error.
+
+--- libutil/Utility.h.orig 2021-04-13 11:52:53.000000000 +0000
++++ libutil/Utility.h
+@@ -141,7 +141,7 @@ protected:
+ bool dryrunAbort();
+
+ // delegates
+- virtual bool utility_option( int, bool& ) = 0; //!< process command-line option
++ virtual bool utility_option( unsigned int, bool& ) = 0; //!< process command-line option
+ virtual bool utility_job( JobContext& ) = 0; //!< process positional argument
+
+ private: