mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix format specifier for DWORD
This commit is contained in:
parent
d224bfdc32
commit
d6564615e7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue