mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Merge remote-tracking branch 'origin/GT-3570_adamopolous_scalar_search_issue'
This commit is contained in:
commit
534fd5253a
3 changed files with 92 additions and 79 deletions
|
@ -99,7 +99,10 @@ public class Scalar implements Comparable<Scalar> {
|
|||
* Get the value as unsigned.
|
||||
*/
|
||||
public long getUnsignedValue() {
|
||||
return value;
|
||||
if (value == 0) { // just in case the bitLength is 0
|
||||
return 0;
|
||||
}
|
||||
return (value & BITMASKS[bitLength]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue