diff options
author | Werner Koch <[email protected]> | 2014-09-11 12:14:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-09-11 12:14:23 +0000 |
commit | 4138644d74f127c1f4abf7455fe1e21f56d6e07e (patch) | |
tree | 5e06e461ff94c9d2a924e69ce412d0791cceb41d | |
parent | Post release updates (diff) | |
download | libgpg-error-4138644d74f127c1f4abf7455fe1e21f56d6e07e.tar.gz libgpg-error-4138644d74f127c1f4abf7455fe1e21f56d6e07e.zip |
Fix compiler warning for w32.
* src/syscfg/lock-obj-pub.mingw32.h (GPGRT_LOCK_INITIALIZER): Add
mssing braces.
-rw-r--r-- | src/syscfg/lock-obj-pub.mingw32.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/syscfg/lock-obj-pub.mingw32.h b/src/syscfg/lock-obj-pub.mingw32.h index 2f3f911..d6623cc 100644 --- a/src/syscfg/lock-obj-pub.mingw32.h +++ b/src/syscfg/lock-obj-pub.mingw32.h @@ -24,10 +24,10 @@ typedef struct } gpgrt_lock_t; #pragma pack(pop) -#define GPGRT_LOCK_INITIALIZER {1,0,0,0,0,0,0,0,255,255,255,255, \ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ - 0,0,0,0,0,0,0,0,0,0,0,0} +#define GPGRT_LOCK_INITIALIZER {{1,0,0,0,0,0,0,0,255,255,255,255, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0,0,0,0,0}} #else @@ -38,7 +38,7 @@ typedef struct } gpgrt_lock_t; #pragma pack(pop) -#define GPGRT_LOCK_INITIALIZER {1,0,0,0,0,0,0,0,255,255,255,255, \ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ - 0,0,0,0,0,0,0,0} +#define GPGRT_LOCK_INITIALIZER {{1,0,0,0,0,0,0,0,255,255,255,255, \ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \ + 0,0,0,0,0,0,0,0}} #endif |