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 | 1d2354793be2d7734b9c20a38a984dff70600024 (patch) | |
tree | 30136794da320a2304f3c6ca973bfc1406632418 | |
parent | 89f08fef7b163f7005f490a9735bdf2fab5cd37c (diff) | |
download | ruby-1d2354793be2d7734b9c20a38a984dff70600024.tar.gz |
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
-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) |