get_vcall_slot (guint8 *code, mgreg_t *regs, int *displacement)
{
const int kBufSize = NACL_SIZE (8, 16);
- guint8 buf [kBufSize];
+ guint8 buf [64];
guint8 reg = 0;
gint32 disp = 0;
- mono_breakpoint_clean_code (NULL, code, kBufSize, buf, sizeof (buf));
+ mono_breakpoint_clean_code (NULL, code, kBufSize, buf, kBufSize);
code = buf + 8;
*displacement = 0;