mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
fix :565:18: error: use of unary operator that may be intended as compound
This commit is contained in:
@@ -562,7 +562,7 @@ double pcp_getentropy(char *source) {
|
|||||||
hist = (int*)calloc(len, sizeof(int));
|
hist = (int*)calloc(len, sizeof(int));
|
||||||
|
|
||||||
for(i=0; i<256; i++)
|
for(i=0; i<256; i++)
|
||||||
wherechar[i] =- 1;
|
wherechar[i] -= 1;
|
||||||
|
|
||||||
for(i=0; i<len; i++){
|
for(i=0; i<len; i++){
|
||||||
if(wherechar[(int)source[i]] == -1) {
|
if(wherechar[(int)source[i]] == -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user