/*
- * $Id: rb_edje.c 332 2005-04-28 18:37:16Z tilman $
+ * $Id: rb_edje.c 333 2005-04-28 18:47:16Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
CHECK_CLASS (msg, cMsg);
- id = NUM2INT (rb_iv_get (msg, "@id"));
+ id = FIX2INT (rb_iv_get (msg, "@id"));
v = rb_iv_get (msg, "@value");
type = get_msg_type (v);
Check_Type (id, T_FIXNUM);
- rb_iv_set (self, "@id", UINT2NUM (id));
+ rb_iv_set (self, "@id", id);
rb_iv_set (self, "@value", val);
return self;