Skip to content

Commit 412b172

Browse files
committed
chore: use strict eq
1 parent 2fffe7c commit 412b172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/tool/entry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class SectionImpl extends BaseImpl implements EntryLike<"section"> {
7373
.add("Known size:", formatBytes(this.data.known_size))
7474
.add("Unknown size:", formatBytes(this.getSize()))
7575
.add("Offset:", `0x${this.data.offset.toString(16)} - 0x${this.data.end.toString(16)}`)
76-
.add_if("Address:", `0x${this.data.addr.toString(16)} - 0x${this.data.addr_end.toString(16)}`, this.data.addr != 0 || this.data.addr_end != 0)
76+
.add_if("Address:", `0x${this.data.addr.toString(16)} - 0x${this.data.addr_end.toString(16)}`, this.data.addr !== 0 || this.data.addr_end !== 0)
7777
.add("Memory:", this.data.only_in_memory.toString())
7878
.add("Debug:", this.data.debug.toString());
7979
return align.toString();

0 commit comments

Comments
 (0)