[git] GPG-ERROR - branch, master, updated. libgpg-error-1.24-11-gb1ccab5

by Andre Heinecke cvs at cvs.gnupg.org
Fri Nov 11 17:00:31 CET 2016


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 "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  b1ccab5bf8e1206aae1307ad5d23890be4251c8f (commit)
      from  bae57a21cfab25ad11c82dc6e69d82d1f2f7a415 (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 b1ccab5bf8e1206aae1307ad5d23890be4251c8f
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Fri Nov 11 16:54:55 2016 +0100

    w32: Fix lock c++ narrowing conversion warning
    
    * src/syscfg/lock-obj-pub.mingw32.h (gpgrt_lock_t): Declare priv as
    unsigned char.
    
    --
    This fixes error: narrowing conversion of ‘255’ from ‘int’ to
    ‘volatile char’ inside { } [-Werror=narrowing]

diff --git a/src/syscfg/lock-obj-pub.mingw32.h b/src/syscfg/lock-obj-pub.mingw32.h
index d6623cc..f35aee1 100644
--- a/src/syscfg/lock-obj-pub.mingw32.h
+++ b/src/syscfg/lock-obj-pub.mingw32.h
@@ -20,7 +20,7 @@
 #pragma pack(push, 8)
 typedef struct
 {
-  volatile char priv[56];
+  volatile unsigned char priv[56];
 } gpgrt_lock_t;
 #pragma pack(pop)
 
@@ -34,7 +34,7 @@ typedef struct
 #pragma pack(push, 8)
 typedef struct
 {
-  volatile char priv[36];
+  volatile unsigned char priv[36];
 } gpgrt_lock_t;
 #pragma pack(pop)
 

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

Summary of changes:
 src/syscfg/lock-obj-pub.mingw32.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list