diff options
Diffstat (limited to '')
| -rw-r--r-- | test/131_coorddata_dr/coorddata_dr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/131_coorddata_dr/coorddata_dr.c b/test/131_coorddata_dr/coorddata_dr.c index d8ac94a..d262fe3 100644 --- a/test/131_coorddata_dr/coorddata_dr.c +++ b/test/131_coorddata_dr/coorddata_dr.c | |||
| @@ -11,7 +11,7 @@ size_t coordinate_dr_gendata(unsigned char *); | |||
| 11 | 11 | ||
| 12 | void run(void) { | 12 | void run(void) { |
| 13 | bool found; | 13 | bool found; |
| 14 | uint64_t t; | 14 | uint8_t t; |
| 15 | char str[STRLENMAX]; | 15 | char str[STRLENMAX]; |
| 16 | unsigned char *data; | 16 | unsigned char *data; |
| 17 | size_t size; | 17 | size_t size; |
| @@ -33,8 +33,8 @@ void run(void) { | |||
| 33 | goto cleanup; | 33 | goto cleanup; |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | for (t = 0, found = false; t < 48; t++) { | 36 | for (t = 0, found = false, coord2 = UINT64_MAX; t < 48; t++) { |
| 37 | if (!((UINT64_C(1) << t) & TGROUP)) | 37 | if (!((UINT64_C(1) << (uint8_t)t) & TGROUP)) |
| 38 | continue; | 38 | continue; |
| 39 | 39 | ||
| 40 | coord2 = coordinate_dr_coord(transform(cube, t), data); | 40 | coord2 = coordinate_dr_coord(transform(cube, t), data); |
