Commit a2346d0
Promote
To guarantee that `off_t >= size_t`
As required to build fmemopen.c line 117:
` _Static_assert(sizeof(off_t) >= sizeof(size_t), "must avoid truncation");`
https://github.com/picolibc/picolibc/blame/d44fa19886bad821f6004583c75bfc202cd4b156/newlib/libc/tinystdio/fmemopen.c#L117C14-L117C14
Signed-off-by: Abdallah Abdelhafeez <[email protected]>off_t type when long->4-bytes and size_t->8-bytes
1 parent fb36d6c commit a2346d0
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
0 commit comments