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

ruby-changes:53058

From: naruse <ko1@a...>
Date: Sun, 21 Oct 2018 19:47:01 +0900 (JST)
Subject: [ruby-changes:53058] naruse:r65272 (trunk): fix sign of integer variable

naruse	2018-10-21 19:46:56 +0900 (Sun, 21 Oct 2018)

  New Revision: 65272

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

  Log:
    fix sign of integer variable

  Modified files:
    trunk/addr2line.c
Index: addr2line.c
===================================================================
--- addr2line.c	(revision 65271)
+++ addr2line.c	(revision 65272)
@@ -283,7 +283,7 @@ struct LineNumberProgramHeader { https://github.com/ruby/ruby/blob/trunk/addr2line.c#L283
     uint8_t minimum_instruction_length;
     uint8_t maximum_operations_per_instruction;
     uint8_t default_is_stmt;
-    uint8_t line_base;
+    int8_t line_base;
     uint8_t line_range;
     uint8_t opcode_base;
     /* uint8_t standard_opcode_lengths[opcode_base-1]; */

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

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