From f7f582732a3d3abc9a8823cf7e0c007bd2a8e209 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 10 Mar 2014 20:13:17 +0100 Subject: [PATCH 1/2] Fixed bufsize type. --- ocl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ocl.c b/ocl.c index 247d7d99..1e521f12 100644 --- a/ocl.c +++ b/ocl.c @@ -782,10 +782,10 @@ built: * 2 greater >= required amount earlier */ if (bufsize > cgpu->max_alloc) { applog(LOG_WARNING, "Maximum buffer memory device %d supports says %lu", - gpu, (long unsigned int)(cgpu->max_alloc)); - applog(LOG_WARNING, "Your scrypt settings come to %d", (int)bufsize); + gpu, (unsigned long)(cgpu->max_alloc)); + applog(LOG_WARNING, "Your scrypt settings come to %lu", (unsigned long)bufsize); } - applog(LOG_DEBUG, "Creating scrypt buffer sized %d", (int)bufsize); + applog(LOG_DEBUG, "Creating scrypt buffer sized %lu", (unsigned long)bufsize); clState->padbufsize = bufsize; /* This buffer is weird and might work to some degree even if From e7fbdf3f7a94cf72e191cc85736c8aaa32180140 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 10 Mar 2014 20:13:58 +0100 Subject: [PATCH 2/2] Removed orphan file. --- winbuild/dist/lib/README.txt | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 winbuild/dist/lib/README.txt diff --git a/winbuild/dist/lib/README.txt b/winbuild/dist/lib/README.txt deleted file mode 100644 index 966e2480..00000000 --- a/winbuild/dist/lib/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -Download and extract static libs in this folder from: - -https://mega.co.nz/#!iNBzDTSY!k2rcUJgAix1UDL77U8QZN35fOE8ulQBge7hGxK_FcpE