Do a proper cast go get from I32 to mop_prehashed_key_t.
Florian Ragwitz [Sun, 15 Mar 2009 17:59:18 +0000 (18:59 +0100)]
mop.c

diff --git a/mop.c b/mop.c
index 16d8f53..739f9d8 100644 (file)
--- a/mop.c
+++ b/mop.c
@@ -253,7 +253,7 @@ XS(mop_xs_simple_reader)
     dXSARGS;
 #endif
     register HE *he;
-    mop_prehashed_key_t key = CvXSUBANY(cv).any_i32;
+    mop_prehashed_key_t key = (mop_prehashed_key_t)CvXSUBANY(cv).any_i32;
     SV *self;
 
     if (items != 1) {