Browse Source

Merge commit '64bd6e9' into bfgminer

Luke Dashjr 13 years ago
parent
commit
aa2278e2d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-bitforce.c

+ 1 - 1
driver-bitforce.c

@@ -327,7 +327,7 @@ void bitforce_init(struct cgpu_info *bitforce)
 	
 	
 	if (likely((!memcmp(pdevbuf, ">>>ID: ", 7)) && (s = strstr(pdevbuf + 3, ">>>")))) {
 	if (likely((!memcmp(pdevbuf, ">>>ID: ", 7)) && (s = strstr(pdevbuf + 3, ">>>")))) {
 		s[0] = '\0';
 		s[0] = '\0';
-		free(bitforce->name);
+		free((void*)bitforce->name);
 		bitforce->name = strdup(pdevbuf + 7);
 		bitforce->name = strdup(pdevbuf + 7);
 	}
 	}