summaryrefslogtreecommitdiff
path: root/user/mariadb/types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/mariadb/types.patch')
-rw-r--r--user/mariadb/types.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/mariadb/types.patch b/user/mariadb/types.patch
new file mode 100644
index 000000000..7f2917b47
--- /dev/null
+++ b/user/mariadb/types.patch
@@ -0,0 +1,11 @@
+--- mariadb-10.4.7/plugin/auth_pam/testing/pam_mariadb_mtr.c.old 2019-07-30 11:32:16.000000000 +0000
++++ mariadb-10.4.7/plugin/auth_pam/testing/pam_mariadb_mtr.c 2019-08-17 21:37:59.264353123 +0000
+@@ -56,7 +56,7 @@
+ if (strcmp(r1, "crash pam module") == 0 && atoi(r2) == 616)
+ abort();
+
+- if (strlen(r1) == (uint)atoi(r2) % 100)
++ if (strlen(r1) == (unsigned int)atoi(r2) % 100)
+ retval = PAM_SUCCESS;
+ else
+ retval = PAM_AUTH_ERR;