Skip to content

Commit bdc1642

Browse files
authored
Fix arm64 unsigned char decode code
1 parent f5456aa commit bdc1642

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515

1616
matrix:
17-
os: [ubuntu-latest, macos-latest]
17+
os: [ubuntu-latest, macos-latest, ubuntu-24.04-arm]
1818

1919
steps:
2020
- name: Checkout code

Run_Length_Encode_Slow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ int Run_Length_Decode_Slow(float scale, float* vals, int num_expected_vals, unsi
412412
}
413413
else
414414
{
415-
int ival = *p;
415+
int ival = (signed char)*p;
416416
if (ival > VLESC2 && ival < RLESC3)
417417
{
418418
#ifdef DEBUG_DECODE

0 commit comments

Comments
 (0)