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

ruby-changes:61433

From: Nobuyoshi <ko1@a...>
Date: Sun, 31 May 2020 03:19:56 +0900 (JST)
Subject: [ruby-changes:61433] 2c711273bb (master): compile.c: Removed wrong conversion

https://git.ruby-lang.org/ruby.git/commit/?id=2c711273bb

From 2c711273bb285cdc718b2f3ceb1d77354a47e336 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 31 May 2020 03:05:10 +0900
Subject: compile.c: Removed wrong conversion


diff --git a/compile.c b/compile.c
index 1ef7943..de41e4f 100644
--- a/compile.c
+++ b/compile.c
@@ -1125,7 +1125,7 @@ debug_list(ISEQ_ARG_DECLARE LINK_ANCHOR *const anchor) https://github.com/ruby/ruby/blob/trunk/compile.c#L1125
 	   anchor->anchor.next, anchor->last);
     while (list) {
 	printf("curr: %p, next: %p, prev: %p, type: %d\n", list, list->next,
-	       list->prev, FIX2INT(list->type));
+	       list->prev, (int)list->type);
 	list = list->next;
     }
     printf("----\n");
-- 
cgit v0.10.2


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

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