Skip to content

Commit b80d361

Browse files
authored
cli report: Generate virtual addresses as uppercase (#45)
Matches dtk symbols.txt and most projects' identifiers.
1 parent fd27f4d commit b80d361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objdiff-cli/src/cmd/report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ fn read_report(path: &Path) -> Result<Report> {
474474
fn serialize_hex<S>(x: &Option<u64>, s: S) -> Result<S::Ok, S::Error>
475475
where S: serde::Serializer {
476476
if let Some(x) = x {
477-
s.serialize_str(&format!("{:#x}", x))
477+
s.serialize_str(&format!("{:#X}", x))
478478
} else {
479479
s.serialize_none()
480480
}

0 commit comments

Comments
 (0)