summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-15 16:23:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-15 16:23:07 +0000
commit7d66f955232d79c91824711e2308c9ca5e4ac97b (patch)
tree78bf343713a6acb787bee2c80885bdc6c0835e7b /win32/win32.c
parent1242292de90d8855fe71a2b22455daed1b37fefc (diff)
win32.c: adjust type
* win32/win32.c (NtCmdLineElement): use long instead of int for rb_w32_wstr_to_mbstr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 623acc57dc..4469297564 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1449,7 +1449,7 @@ rb_w32_uaspawn(int mode, const char *prog, char *const *argv)
typedef struct _NtCmdLineElement {
struct _NtCmdLineElement *next;
char *str;
- int len;
+ long len;
int flags;
} NtCmdLineElement;