diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-26 09:01:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-26 09:01:23 +0000 |
commit | 860fad971d2bdaad7b9e78adef80f6db9d8ec1cf (patch) | |
tree | ce5ba175fb71b5ed8bb7bff9ca2810b7120a0688 /win32 | |
parent | 425dcb131eeea65293a354901b03f1fdd5c28756 (diff) | |
download | bundler-860fad971d2bdaad7b9e78adef80f6db9d8ec1cf.tar.gz |
* thread.c (blocking_region_{begin,end}): declared as inline.
* util.c (freedtoa): used only when MULTIPLE_THREADS is not defined.
* win32/win32.c (rb_w32_pipe): serial is DWORD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index b0db5f40b8..c3a5c8c5dd 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -4182,7 +4182,7 @@ rb_w32_pipe(int fds[2]) return _pipe(fds, 65536L, _O_NOINHERIT); p = strchr(name, '0'); - snprintf(p, strlen(p) + 1, "%x-%x", rb_w32_getpid(), serial++); + snprintf(p, strlen(p) + 1, "%x-%lx", rb_w32_getpid(), serial++); sec.nLength = sizeof(sec); sec.lpSecurityDescriptor = NULL; |