1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 01:44:23 +00:00

VS2010 build: Prepare findnonce.c

Cherry-picked by veox.
This commit is contained in:
Sanjin Trošelj 2014-01-27 18:22:40 +01:00 committed by Noel Maersk
parent 8c0e250db2
commit db352941b2

View File

@ -11,7 +11,6 @@
#include "config.h"
#include <stdio.h>
#include <inttypes.h>
#include <pthread.h>
#include <string.h>
@ -213,7 +212,7 @@ static void *postcalc_hash(void *userdata)
void postcalc_hash_async(struct thr_info *thr, struct work *work, uint32_t *res)
{
struct pc_data *pcd = malloc(sizeof(struct pc_data));
struct pc_data *pcd = (struct pc_data *)malloc(sizeof(struct pc_data));
int buffersize;
if (unlikely(!pcd)) {