[前][次][番号順一覧][スレッド一覧]

ruby-changes:54894

From: ko1 <ko1@a...>
Date: Wed, 20 Feb 2019 16:34:09 +0900 (JST)
Subject: [ruby-changes:54894] ko1:r67099 (trunk): fix r67097 with cast

ko1	2019-02-20 16:34:05 +0900 (Wed, 20 Feb 2019)

  New Revision: 67099

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67099

  Log:
    fix r67097 with cast

  Modified files:
    trunk/file.c
Index: file.c
===================================================================
--- file.c	(revision 67098)
+++ file.c	(revision 67099)
@@ -1126,7 +1126,7 @@ static inline int https://github.com/ruby/ruby/blob/trunk/file.c#L1126
 statx(int dirfd, const char *pathname, int flags,
       unsigned int mask, struct statx *statxbuf)
 {
-    return syscall(__NR_statx, dirfd, pathname, flags, mask, statxbuf);
+    return (int)syscall(__NR_statx, dirfd, pathname, flags, mask, statxbuf);
 }
 #   endif
 # endif

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]