diff options
Diffstat (limited to 'sdl2/rwops.ha')
| -rw-r--r-- | sdl2/rwops.ha | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl2/rwops.ha b/sdl2/rwops.ha index 4605a3a..da5d83d 100644 --- a/sdl2/rwops.ha +++ b/sdl2/rwops.ha @@ -67,7 +67,7 @@ export fn rw_from_handle(in: io::handle) *SDL_RWops = { close = &stream_close, type_ = rwops_type::UNKNOWN, ... - }); + })!; // Assert that we can cram an io::handle into the SDL_RWops struct static assert(size(io::handle) <= size(nullable *u8) * 2); let ptr = &rw.hidden.unknown.data1: *io::handle; |
