Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-6696: precedence fix

d-millar733789f2a3ee
diff --git a/Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/dump/pagedump/FullDumpHeader.java b/Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/dump/pagedump/FullDumpHeader.java
index a9bf2a8995..b955a2ed0c 100644
--- a/Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/dump/pagedump/FullDumpHeader.java
+++ b/Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/dump/pagedump/FullDumpHeader.java
@@ -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.
@@ -59,7 +59,7 @@ public class FullDumpHeader implements StructConverter {
setBitmapSize(reader.readNextLong());
setPages(reader.readNextLong());
- buffer = new byte[(int) (pages + 7) / 8];
+ buffer = new byte[(int) ((pages + 7) / 8)];
int pfn = 0;
int rvan = 0;
for (int i = 0; i < buffer.length; i++) {