diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-04-24 17:14:11 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-05-09 10:11:19 +0900 |
commit | d6564615e7aad09348b6bb933f787ee30916971e (patch) | |
tree | 81234589cde19156df734e411764b62c089da976 /io_buffer.c | |
parent | d224bfdc3252913ac635be0bf28173c659a10687 (diff) |
Fix format specifier for `DWORD`
Diffstat (limited to 'io_buffer.c')
-rw-r--r-- | io_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_buffer.c b/io_buffer.c index 7715aa0d37..af884f1473 100644 --- a/io_buffer.c +++ b/io_buffer.c @@ -260,7 +260,7 @@ io_buffer_free(struct rb_io_buffer *buffer) if (buffer->mapping) { if (RB_IO_BUFFER_DEBUG) fprintf(stderr, "io_buffer_free:CloseHandle -> %p\n", buffer->mapping); if (!CloseHandle(buffer->mapping)) { - fprintf(stderr, "io_buffer_free:GetLastError -> %d\n", GetLastError()); + fprintf(stderr, "io_buffer_free:GetLastError -> %lu\n", GetLastError()); } buffer->mapping = NULL; } |