Browse files

fix compilation warnings

  • Loading branch information...
1 parent 7a9ee62 commit e74a4798b4d8339839854b9371bed43346b48859 @vincenthz committed Aug 20, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 cbits/skein256.c
  2. +1 −1 cbits/skein512.c
View
2 cbits/skein256.c
@@ -42,7 +42,7 @@ static inline void skein256_do_chunk(struct skein256_ctx *ctx, uint64_t *buf, ui
uint64_t ts[3];
uint64_t ks[4+1];
- ks[4] = 0x5555555555555555;
+ ks[4] = 0x5555555555555555ULL;
ks[0] = ctx->h[0]; ks[4] ^= ctx->h[0];
ks[1] = ctx->h[1]; ks[4] ^= ctx->h[1];
ks[2] = ctx->h[2]; ks[4] ^= ctx->h[2];
View
2 cbits/skein512.c
@@ -42,7 +42,7 @@ static inline void skein512_do_chunk(struct skein512_ctx *ctx, uint64_t *buf, ui
uint64_t ts[3];
uint64_t ks[8+1];
- ks[8] = 0x5555555555555555;
+ ks[8] = 0x5555555555555555ULL;
ks[0] = ctx->h[0]; ks[8] ^= ctx->h[0];
ks[1] = ctx->h[1]; ks[8] ^= ctx->h[1];
ks[2] = ctx->h[2]; ks[8] ^= ctx->h[2];

0 comments on commit e74a479

Please sign in to comment.