[git] Assuan - branch, master, updated. libassuan-2.5.1-4-g6c73632

by NIIBE Yutaka cvs at cvs.gnupg.org
Mon Feb 26 03:35:20 CET 2018


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 "IPC library used by GnuPG".

The branch, master has been updated
       via  6c736325c028647dc3283bf723e2e28199e7f45b (commit)
      from  35aad6b5d53b292e8e7c52c4eb90535be0580cd2 (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 -----------------------------------------------------------------
commit 6c736325c028647dc3283bf723e2e28199e7f45b
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Mon Feb 26 11:33:44 2018 +0900

    Silence two minor warning on Windows.
    
    * src/assuan-defs.h [HAVE_W64_SYSTEM] (SOCKET2HANDLE): Care for size
    of integer.
    * src/stpcpy.c: No K&R anymore.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/src/assuan-defs.h b/src/assuan-defs.h
index 6688198..e56d7b1 100644
--- a/src/assuan-defs.h
+++ b/src/assuan-defs.h
@@ -410,7 +410,7 @@ int putc_unlocked (int c, FILE *stream);
 
 
 #if HAVE_W64_SYSTEM
-# define SOCKET2HANDLE(s) ((void *)(s))
+# define SOCKET2HANDLE(s) ((void *)(uintptr_t)(s))
 # define HANDLE2SOCKET(h) ((uintptr_t)(h))
 #elif HAVE_W32_SYSTEM
 # define SOCKET2HANDLE(s) ((void *)(s))
diff --git a/src/stpcpy.c b/src/stpcpy.c
index 4820c7a..2e4573f 100644
--- a/src/stpcpy.c
+++ b/src/stpcpy.c
@@ -32,9 +32,7 @@
 
 /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST.  */
 char *
-__stpcpy (dest, src)
-     char *dest;
-     const char *src;
+__stpcpy (char *dest, const char *src)
 {
   register char *d = dest;
   register const char *s = src;

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

Summary of changes:
 src/assuan-defs.h | 2 +-
 src/stpcpy.c      | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
IPC library used by GnuPG
http://git.gnupg.org




More information about the Gnupg-commits mailing list