| 659 | } |
| 660 | |
| 661 | static inline size_t st_left_shift(size_t a, unsigned shift) |
| 662 | { |
| 663 | if (unsigned_left_shift_overflows(a, shift)) |
| 664 | die("size_t overflow: %"PRIuMAX" << %u", |
| 665 | (uintmax_t)a, shift); |
| 666 | return a << shift; |
| 667 | } |
| 668 | |
| 669 | static inline unsigned long cast_size_t_to_ulong(size_t a) |
| 670 | { |
no test coverage detected