Fix copy-and-paste mistake in compact unihex logic

This commit is contained in:
embeddedt 2025-05-19 10:24:13 -04:00
parent e9cb602ab7
commit 6df33005a7
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -29,7 +29,7 @@ public class CompactUnihexContents {
} }
private static short extractShort(long compressed, int off) { private static short extractShort(long compressed, int off) {
return (byte)((compressed >> (off * 16)) & 0xFF); return (short)((compressed >> (off * 16)) & 0xFFFF);
} }
public static class Bytes implements UnihexProvider.LineData { public static class Bytes implements UnihexProvider.LineData {