aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index 5e5181c1..45187d8d 100644
--- a/src/library.js
+++ b/src/library.js
@@ -4465,7 +4465,7 @@ LibraryManager.library = {
i = (i + 1)|0;
continue;
} else {
- return ((x|0) > (y|0) ? 1 : -1)|0;
+ return ((x>>>0) > (y>>>0) ? 1 : -1)|0;
}
}
return 0;