Commit 4bf37d8
Fix a bug of casting sizeof(slot_type) to uint16_t instead of uint32_t.
Note that in the above static_assert, we check that sizeof(slot_type) fits in a uint32_t, not a uint16_t and the field in PolicyFunctions is a uint32_t.
PiperOrigin-RevId: 756886567
Change-Id: I5ca915b814d1da6cdc1d24152b2ebde5dec9d28b1 parent 83e249f commit 4bf37d8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3607 | 3607 | | |
3608 | 3608 | | |
3609 | 3609 | | |
3610 | | - | |
| 3610 | + | |
3611 | 3611 | | |
3612 | 3612 | | |
3613 | 3613 | | |
| |||
0 commit comments