... | ... |
@@ -17,12 +17,12 @@ WITH REGARD TO THIS SOFTWARE. |
17 | 17 |
[ L2 ][ N2 ][ T2 ] < |
18 | 18 |
*/ |
19 | 19 |
|
20 |
-#define T *(s->dat + s->ptr - 1) |
|
21 |
-#define N *(s->dat + s->ptr - 2) |
|
22 |
-#define L *(s->dat + s->ptr - 3) |
|
23 |
-#define X *(s->dat + s->ptr - 4) |
|
24 |
-#define Y *(s->dat + s->ptr - 5) |
|
25 |
-#define Z *(s->dat + s->ptr - 6) |
|
20 |
+#define T *(s->dat + s->ptr) |
|
21 |
+#define N *(s->dat + (Uint8)(s->ptr - 1)) |
|
22 |
+#define L *(s->dat + (Uint8)(s->ptr - 2)) |
|
23 |
+#define X *(s->dat + (Uint8)(s->ptr - 3)) |
|
24 |
+#define Y *(s->dat + (Uint8)(s->ptr - 4)) |
|
25 |
+#define Z *(s->dat + (Uint8)(s->ptr - 5)) |
|
26 | 26 |
#define T2 (N << 8 | T) |
27 | 27 |
#define H2 (L << 8 | N) |
28 | 28 |
#define N2 (X << 8 | L) |