Skip to content

Fix cmp_hashrec for 64 bits#9

Open
kuk wants to merge 1 commit intoscrapinghub:masterfrom
kuk:patch-2
Open

Fix cmp_hashrec for 64 bits#9
kuk wants to merge 1 commit intoscrapinghub:masterfrom
kuk:patch-2

Conversation

@kuk
Copy link

@kuk kuk commented Oct 25, 2019

In

static int cmp_hashrec(const void *a, const void *b) {
 return ((const struct hashrec *) a)->hash - ((const struct hashrec *) b)->hash;

result may not fit into int since hash is PY_LONG_LONG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant