summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@tuffmail.com>2014-08-17 19:16:01 -0400
committerBrian Evans <grknight@tuffmail.com>2014-08-17 19:19:22 -0400
commitddbb7641cebcbf956e6cc58cd81372be3d2f257a (patch)
tree36339f6027ea301942e5a993fa57f8a333608945 /20011_all_mariadb-hppa-unsigned-long.patch
parentFix minimal builds on MariaDB 10.0.13 (diff)
downloadmysql-extras-ddbb7641cebcbf956e6cc58cd81372be3d2f257a.tar.gz
mysql-extras-ddbb7641cebcbf956e6cc58cd81372be3d2f257a.tar.bz2
mysql-extras-ddbb7641cebcbf956e6cc58cd81372be3d2f257a.zip
Fix bad comparision of void to ulong on hppamysql-extras-20140817-2320Z
Diffstat (limited to '20011_all_mariadb-hppa-unsigned-long.patch')
-rw-r--r--20011_all_mariadb-hppa-unsigned-long.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/20011_all_mariadb-hppa-unsigned-long.patch b/20011_all_mariadb-hppa-unsigned-long.patch
new file mode 100644
index 0000000..5f5b841
--- /dev/null
+++ b/20011_all_mariadb-hppa-unsigned-long.patch
@@ -0,0 +1,11 @@
+--- a/storage/xtradb/os/os0stacktrace.c
++++ b/storage/xtradb/os/os0stacktrace.c
+@@ -85,7 +85,7 @@
+ caller_address = (void*) uc->uc_mcontext.gregs[REG_RIP] ;
+ #elif defined(__hppa__)
+ ucontext_t* uc = (ucontext_t*) ucontext;
+- caller_address = (void*) uc->uc_mcontext.sc_iaoq[0] & ~0x3UL ;
++ caller_address = (void*) (uc->uc_mcontext.sc_iaoq[0] & ~0x3UL) ;
+ #elif (defined (__ppc__)) || (defined (__powerpc__))
+ ucontext_t* uc = (ucontext_t*) ucontext;
+ caller_address = (void*) uc->uc_mcontext.regs->nip ;