summaryrefslogtreecommitdiff
path: root/japanese/ruby-ming/files/patch-ext-ming-ming-swfaction.c
blob: 5376e7575638a20ff875e63ccbe184afd4d7a74b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ext/ming/ming/swfaction.c.orig	2003-09-28 13:30:00.000000000 +0900
+++ ext/ming/ming/swfaction.c	2014-01-29 17:11:21.000000000 +0900
@@ -36,7 +36,7 @@
 rb_SWFAction_s_new(self, s)
 	 VALUE self, s;
 {
-  char *script = STR2CSTR(s);
+  char *script = StringValuePtr(s);
   struct RSWFAction *a = ALLOC(struct RSWFAction);
   VALUE obj;