diff options
| author | Jean Boussier <byroot@ruby-lang.org> | 2023-11-08 08:56:32 +0100 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2023-11-08 11:33:01 +0100 |
| commit | 7efe0669ae6194962dbd2abad359a761cee3f552 (patch) | |
| tree | ea5646b601d663cbf6f40bc02722cc6b9d923e49 /include/ruby/internal/encoding/encoding.h | |
| parent | d898e8d6f89fba34a9ee5c0e139f38ac807059e6 (diff) | |
TypedData_Make_Struct0: cast RTYPEDDATA_GET_DATA return pointer
Fixes:
```
/usr/local/ruby/include/ruby-3.3.0+0/ruby/internal/core/rtypeddata.h:467:33:
error: invalid conversion from ‘void*’ to ‘parser_t*’ [-fpermissive]
467 | (sval) = RTYPEDDATA_GET_DATA(result); \
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
| void*
```
Diffstat (limited to 'include/ruby/internal/encoding/encoding.h')
0 files changed, 0 insertions, 0 deletions
