Browse Source

heavy: warnings and tabs (no changes)

master
Tanguy Pruvot 10 years ago
parent
commit
52dade56b5
  1. 1
      heavy/cuda_keccak512.cu
  2. 4
      heavy/heavy.cu

1
heavy/cuda_keccak512.cu

@ -74,7 +74,6 @@ keccak_block(uint64_t *s, const uint32_t *in, const uint64_t *keccak_round_const @@ -74,7 +74,6 @@ keccak_block(uint64_t *s, const uint32_t *in, const uint64_t *keccak_round_const
uint64_t t[5], u[5], v, w;
/* absorb input */
#pragma unroll 9
for (i = 0; i < 9 /* 72/8 */; i++, in += 2)
s[i] ^= U32TO64_LE(in);

4
heavy/heavy.cu

@ -199,8 +199,8 @@ extern "C" void cuda_devicereset() @@ -199,8 +199,8 @@ extern "C" void cuda_devicereset()
static bool substringsearch(const char *haystack, const char *needle, int &match)
{
int hlen = strlen(haystack);
int nlen = strlen(needle);
int hlen = (int) strlen(haystack);
int nlen = (int) strlen(needle);
for (int i=0; i < hlen; ++i)
{
if (haystack[i] == ' ') continue;

Loading…
Cancel
Save