Home GnuPG

w32: Fix lock c++ narrowing conversion warning
b1ccab5bf8e1Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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]

Details

Provenance
aheineckeAuthored on Nov 11 2016, 4:54 PM
Parents
rEbae57a21cfab: Change description of GPG_ERR_OPEN_KEYRING.
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rEb1ccab5bf8e1: w32: Fix lock c++ narrowing conversion warning (authored by Andre Heinecke <aheinecke@intevation.de>).Nov 11 2016, 4:59 PM