From d9347ca454a4dc96681a10c133ff321535a70b10 Mon Sep 17 00:00:00 2001 From: ZakatTeamI2P Date: Tue, 31 Mar 2026 02:37:08 +0400 Subject: [PATCH] h --- binding-mri/filesystem-binding.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding-mri/filesystem-binding.cpp b/binding-mri/filesystem-binding.cpp index 3d238af..6bb43c5 100644 --- a/binding-mri/filesystem-binding.cpp +++ b/binding-mri/filesystem-binding.cpp @@ -76,9 +76,9 @@ RB_METHOD(fileIntRead) if (length == -1) { Sint64 cur = SDL_TellIO(ops); - Sint64 end = SDL_SeekIO(ops, 0, SEEK_END); + Sint64 end = SDL_SeekIO(ops, 0, SDL_IO_SEEK_END); length = end - cur; - SDL_SeekIO(ops, cur, SEEK_SET); + SDL_SeekIO(ops, cur, SDL_IO_SEEK_SET); } if (length == 0)