Skip to content

Commit ec48cd9

Browse files
committed
compilation on arm64 appimage fixes.
1 parent 6bbcfc3 commit ec48cd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/third_party/imgui/ColorTextEditor/include/TextEditor.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,8 @@ class TextEditor
595595
}
596596
size_t i = 0;
597597
while (i < tokens.size()) {
598-
if (tokens[i] < 0) {
599-
auto bytes = -tokens[i];
598+
if ((int8_t) tokens[i] < 0) {
599+
int8_t bytes = -tokens[i];
600600
int tokenLength=0;
601601
for (int j = 0; j < bytes; j++)
602602
tokenLength += tokens[i + j + 2] << (j * 8);

0 commit comments

Comments
 (0)