diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-02 02:30:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-02 02:30:43 +0000 |
commit | 9334bb3075396512ebca367da63bc22c4ceeea39 (patch) | |
tree | 30136794da320a2304f3c6ca973bfc1406632418 /missing/crypt.c | |
parent | 55cc1c618a9155102618a2d664159ded185e424e (diff) |
crypt.c: fix syntax error on mswin
* missing/crypt.c (constdatablock): fix error on mswin. Visual C
does not accept an empty initializer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/crypt.c')
-rw-r--r-- | missing/crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/missing/crypt.c b/missing/crypt.c index 8ffe9c7108..269db9ed4c 100644 --- a/missing/crypt.c +++ b/missing/crypt.c @@ -347,7 +347,7 @@ STATIC void init_perm(C_block perm[64/CHUNKBITS][1<<CHUNKBITS], unsigned char p[ #define init_des() ((void)0) #endif -static const C_block constdatablock = {}; /* encryption constant */ +static const C_block constdatablock = {{0}}; /* encryption constant */ #define KS (data->KS) #define cryptresult (data->cryptresult) |