1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-08-26 05:42:02 +00:00

heavy: warnings and tabs (no changes)

This commit is contained in:
Tanguy Pruvot 2014-08-23 23:54:01 +02:00
parent ee2f6dece5
commit 52dade56b5
2 changed files with 87 additions and 88 deletions

View File

@ -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; uint64_t t[5], u[5], v, w;
/* absorb input */ /* absorb input */
#pragma unroll 9
for (i = 0; i < 9 /* 72/8 */; i++, in += 2) for (i = 0; i < 9 /* 72/8 */; i++, in += 2)
s[i] ^= U32TO64_LE(in); s[i] ^= U32TO64_LE(in);

View File

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