summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-19 04:46:42 +0100
committerSam James <sam@gentoo.org>2022-10-19 04:46:49 +0100
commit5ade1d73bd8fd847143f56323d4d28390859cc16 (patch)
treeda4173dfc8c59336fb67b4a4049eeedc49f1efad /app-crypt/fcrackzip
parentmedia-libs/lsp-plugins: backport double buffering fix (diff)
downloadgentoo-5ade1d73bd8fd847143f56323d4d28390859cc16.tar.gz
gentoo-5ade1d73bd8fd847143f56323d4d28390859cc16.tar.bz2
gentoo-5ade1d73bd8fd847143f56323d4d28390859cc16.zip
app-crypt/fcrackzip: commit missing patch
Fixes: 9b691f1c8dc6cd99b2048abc5e4a5a6dd0f51f98 Closes: https://bugs.gentoo.org/874951 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt/fcrackzip')
-rw-r--r--app-crypt/fcrackzip/files/fcrackzip-1.0-Fix-Wimplicit-int.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-crypt/fcrackzip/files/fcrackzip-1.0-Fix-Wimplicit-int.patch b/app-crypt/fcrackzip/files/fcrackzip-1.0-Fix-Wimplicit-int.patch
new file mode 100644
index 000000000000..131cb4afade2
--- /dev/null
+++ b/app-crypt/fcrackzip/files/fcrackzip-1.0-Fix-Wimplicit-int.patch
@@ -0,0 +1,19 @@
+From 29a7c52bbf58b9465bbda3f2aa76849e30282a85 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Wed, 19 Oct 2022 03:43:04 +0100
+Subject: [PATCH] Fix -Wimplicit-int
+
+Bug: https://bugs.gentoo.org/874951
+--- a/cpmask.c
++++ b/cpmask.c
+@@ -126,8 +126,8 @@ static u8 cp_key[] =
+ 0x03, 0x01, 0x04, 0x19, 0x0c, 0x0f, 0x0e, 0x12, 0x07, 0x0b, 0x18, 0x11, 0x1a
+ };
+
+-static cp_table_lu1[MAX_CP_WIDTH];
+-static cp_table_lu2[MAX_CP_WIDTH];
++static UI cp_table_lu1[MAX_CP_WIDTH];
++static UI cp_table_lu2[MAX_CP_WIDTH];
+
+ /* this is a bottleneck */
+ static void