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

ruby-changes:12874

From: nobu <ko1@a...>
Date: Fri, 21 Aug 2009 15:38:09 +0900 (JST)
Subject: [ruby-changes:12874] Ruby:r24607 (trunk): * enc/utf_8.c (code_to_mbc): suppressed a warning.

nobu	2009-08-21 15:37:36 +0900 (Fri, 21 Aug 2009)

  New Revision: 24607

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24607

  Log:
    * enc/utf_8.c (code_to_mbc): suppressed a warning.

  Modified files:
    trunk/enc/utf_8.c

Index: enc/utf_8.c
===================================================================
--- enc/utf_8.c	(revision 24606)
+++ enc/utf_8.c	(revision 24607)
@@ -363,7 +363,7 @@
     }
 
     *p++ = UTF8_TRAIL0(code);
-    return p - buf;
+    return (int)(p - buf);
   }
 }
 

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

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