Skip to content

Commit cdd6f1d

Browse files
Update lldb/source/Plugins/Process/mach-core/RegisterContextUnifiedCore.cpp
Co-authored-by: Jonas Devlieghere <[email protected]>
1 parent eac8d49 commit cdd6f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/Process/mach-core/RegisterContextUnifiedCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ RegisterContextUnifiedCore::RegisterContextUnifiedCore(
117117
}
118118
ent->GetAsDictionary()->AddIntegerItem("offset", offset);
119119
Status error;
120-
int bytesize = bitsize / 8;
120+
const int bytesize = bitsize / 8;
121121
switch (bytesize) {
122122
case 2: {
123123
Scalar value_scalar((uint16_t)value);

0 commit comments

Comments
 (0)