diff options
| author | 2026-04-18 22:32:33 +0200 | |
|---|---|---|
| committer | 2026-04-18 22:32:33 +0200 | |
| commit | 8ade2d5e36cf0c137514017f85ee65beb3bcc6d6 (patch) | |
| tree | f4a3a598c5066aadd054345c9c10f98d0e4b11d5 /src | |
| parent | 87b7c10777f1e9114574ec6fc3736dc478edc0cd (diff) | |
type: make struct field offset an int
Yes, I've ran into code with structures with fields past the 16 bit
range.
Diffstat (limited to 'src')
| -rw-r--r-- | src/c_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_type.h b/src/c_type.h index 3b1e022..8a07440 100644 --- a/src/c_type.h +++ b/src/c_type.h @@ -72,7 +72,7 @@ typedef struct { typedef struct { Type t; - ushort off; + uint off; uchar bitsiz, bitoff : 6, qual : 2; |