Skip to content

Commit

Permalink
fix compare_MapNode_
Browse files Browse the repository at this point in the history
why does this need to be specified manually?
  • Loading branch information
shtrophic committed Oct 26, 2024
1 parent 205c5c3 commit ea4e420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/media.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void delete_StatefulJxlDecoder(iStatefulJxlDecoder *s) {
}

static int compare_MapNode_(iMapKey a, iMapKey b) {
return a < b;
return (a > b) - (a < b);
}

static uint8_t *loadJxl_(const iBlock *data, iInt2 *imSize, iGmLinkId linkId, iBool isPartial) {
Expand Down

0 comments on commit ea4e420

Please sign in to comment.