summaryrefslogtreecommitdiff
path: root/vm_exec.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-27 07:13:43 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-27 07:13:43 +0000
commit7175a9073ea23abe565f606aa042ea015c7340b9 (patch)
treee45b4a7e274129e45db816f414ae7a4a797b95b1 /vm_exec.h
parent9cce6d1071c3d84d07db891fab781620a287a9fe (diff)
downloadruby-7175a9073ea23abe565f606aa042ea015c7340b9.tar.gz
* class.c, compile.c, dir.c, file.c, iseq.c, parse.y, random.c:
clean unused-value warnings. * cont.c, process.c, vm_exec.h: clean cast warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_exec.h')
-rw-r--r--vm_exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_exec.h b/vm_exec.h
index 9ae81794bd..7696d7172d 100644
--- a/vm_exec.h
+++ b/vm_exec.h
@@ -112,7 +112,7 @@ error !
/* for GCC 3.4.x */
#define TC_DISPATCH(insn) \
INSN_DISPATCH_SIG(insn); \
- goto *GET_CURRENT_INSN(); \
+ goto *(void const *)GET_CURRENT_INSN(); \
;
#else