diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-04-12 18:55:27 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-27 00:02:24 +0200 |
commit | da7a8a8711faa56514cd6c2c2788b5fe8ebaf869 (patch) | |
tree | 2393d6da595d983b64928057a0800e33efc590a1 /Userland/Applications/HexEditor | |
parent | df57536c40e12fe14b92fccdae7c3db638d1a49e (diff) | |
download | serenity-da7a8a8711faa56514cd6c2c2788b5fe8ebaf869.zip |
HexEditor: Don't require the ValueInspectorModel's value size to be i32
Diffstat (limited to 'Userland/Applications/HexEditor')
-rw-r--r-- | Userland/Applications/HexEditor/HexEditorWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/HexEditor/HexEditorWidget.cpp b/Userland/Applications/HexEditor/HexEditorWidget.cpp index 8698d7ebfe..a652e0a51a 100644 --- a/Userland/Applications/HexEditor/HexEditorWidget.cpp +++ b/Userland/Applications/HexEditor/HexEditorWidget.cpp @@ -54,7 +54,7 @@ HexEditorWidget::HexEditorWidget() if (!index.is_valid()) return; m_selecting_from_inspector = true; - m_editor->set_selection(m_editor->selection_start_offset(), index.data(GUI::ModelRole::Custom).as_i32()); + m_editor->set_selection(m_editor->selection_start_offset(), index.data(GUI::ModelRole::Custom).to_integer<size_t>()); m_editor->update(); }; |