Use Numeric for the event type for consistency.
[ruby-ecore.git] / src / ecore / rb_ecore.c
index 239da0f89518826932c508c86cec865585c47143..345ce0bfbc712285774573a92898b72dd59a9f74 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_ecore.c 360 2006-02-12 15:53:44Z tilman $
+ * $Id: rb_ecore.c 361 2006-02-13 22:37:49Z tilman $
  *
  * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
@@ -81,7 +81,7 @@ static VALUE m_new_event_type (VALUE self, VALUE klass)
 {
        VALUE num;
 
-       num = INT2FIX (ecore_event_type_new());
+       num = INT2NUM (ecore_event_type_new());
        rb_hash_aset (event_classes, num, klass);
 
        return num;