This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-950-g2e4c1e9


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  2e4c1e9edb2a0f25a4d8de961dd4b7518c88bc54 (commit)
      from  de7f5ce7c595f4741029f7e63429826f8e82b340 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=2e4c1e9edb2a0f25a4d8de961dd4b7518c88bc54

commit 2e4c1e9edb2a0f25a4d8de961dd4b7518c88bc54
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu May 17 12:44:52 2012 -0700

    Cast to unsigned long

diff --git a/ChangeLog b/ChangeLog
index 284adae..793bc73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
+
 2012-05-17  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
diff --git a/sysdeps/x86_64/tst-mallocalign1.c b/sysdeps/x86_64/tst-mallocalign1.c
index 5ce68da..d4e6036 100644
--- a/sysdeps/x86_64/tst-mallocalign1.c
+++ b/sysdeps/x86_64/tst-mallocalign1.c
@@ -26,7 +26,7 @@ test (size_t s)
 {
   void *p = malloc (s);
 
-  printf ("malloc: %d, %p: %ld\n", s, p,
+  printf ("malloc: %ld, %p: %ld\n", (unsigned long) s, p,
 	  ((unsigned long) p) & ALIGN_MASK);
   return p;
 }

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                         |    4 ++++
 sysdeps/x86_64/tst-mallocalign1.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]