GP-5331: Gdb address signedness.

This commit is contained in:
Dan 2025-02-20 19:36:36 +00:00
parent c8937df382
commit 7c983f7bb5
4 changed files with 38 additions and 26 deletions

View file

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -63,6 +63,9 @@ public abstract class AbstractMapProposal<T, P, E extends MapEntry<T, P>>
}
protected double computeLengthScore() {
if (fromRange == null) {
return 0;
}
long fLen = fromRange.getLength();
long tLen = toRange.getLength();
for (int bitsmatched = 64; bitsmatched > 0; bitsmatched--) {