aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-08 13:03:24 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-08 13:03:24 +0530
commit56e7d3ad5c2f369349bf7def0d8875a50e2d275b (patch)
tree0e34ff4e97b380d098c0cf65b083b1147c1f9a00 /nptl
parent76f2d2ea7b1ecaeab5f91fe7c560c7c3f8ad5c8d (diff)
downloadglibc-56e7d3ad5c2f369349bf7def0d8875a50e2d275b.zip
glibc-56e7d3ad5c2f369349bf7def0d8875a50e2d275b.tar.gz
glibc-56e7d3ad5c2f369349bf7def0d8875a50e2d275b.tar.bz2
Fix some build warnings on s390x
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog5
-rw-r--r--nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index e8c1ddf..b950687 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * sysdeps/unix/sysv/linux/s390/jmp-unwind.c (_longjmp_unwind):
+ Declare LOCAL_VAR as char.
+
2012-12-04 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/powerpc/sem_post.c (__old_sem_post):
diff --git a/nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c b/nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c
index 3f88539..bb2dfc0 100644
--- a/nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c
+++ b/nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c
@@ -1,5 +1,5 @@
/* Clean up stack frames unwound by longjmp. Linux/s390 version.
- Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2003-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,7 +27,7 @@ extern void __pthread_cleanup_upto (__jmp_buf env, char *targetframe);
void
_longjmp_unwind (jmp_buf env, int val)
{
- unsigned char local_var;
+ char local_var;
#ifdef SHARED
if (__libc_pthread_functions_init)