Maintain max_len when emitting calls on ARM hard float.
[mono.git] / mono / mini / unwind.c
index e1b7e21855d1fc5bec53bb43d1513febe9d300b0..350b08f64f60990a64381da7717221ccc73893ff 100644 (file)
@@ -761,7 +761,7 @@ decode_lsda (guint8 *lsda, guint8 *code, MonoJitExceptionInfo **ex_info, guint32
                *this_offset = -1;
        }
        ncall_sites = decode_uleb128 (p, &p);
-       p = (guint8*)ALIGN_TO ((guint64)p, 4);
+       p = (guint8*)ALIGN_TO ((mgreg_t)p, 4);
 
        if (ex_info) {
                *ex_info = g_malloc0 (ncall_sites * sizeof (MonoJitExceptionInfo));