Skip to content

Commit

Permalink
Fix compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ckolivas committed Jul 14, 2011
1 parent 20b3e07 commit 7e38a37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,8 @@ static inline cl_int queue_kernel_parameters(_clState *clState, dev_blk_ctx *blk
return status;
}

static void set_threads_hashes(int vectors, int *threads, int *hashes, size_t *globalThreads)
static void set_threads_hashes(unsigned int vectors, unsigned int *threads,
unsigned int *hashes, size_t *globalThreads)
{
*globalThreads = *threads = 1 << (15 + scan_intensity);
*hashes = *threads * vectors;
Expand Down Expand Up @@ -1796,7 +1797,6 @@ static void *longpoll_thread(void *userdata)

static void reinit_cputhread(int thr_id)
{
int cpu = cpu_from_thr_id(thr_id);
struct thr_info *thr = &thr_info[thr_id];

tq_freeze(thr->q);
Expand Down

0 comments on commit 7e38a37

Please sign in to comment.