summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-02 02:30:43 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-02 02:30:43 (GMT)
commit9334bb3075396512ebca367da63bc22c4ceeea39 (patch)
tree30136794da320a2304f3c6ca973bfc1406632418 /missing
parent55cc1c618a9155102618a2d664159ded185e424e (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')
-rw-r--r--missing/crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/missing/crypt.c b/missing/crypt.c
index 8ffe9c7..269db9e 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)