Revision 675ebef9 monitor.c

b/monitor.c
2759 2759
                }
2760 2760
                if (get_expr(mon, &val, &p))
2761 2761
                    goto fail;
2762
                /* Check if 'i' is greater than 32-bit */
2763
                if ((c == 'i') && ((val >> 32) & 0xffffffff)) {
2764
                    monitor_printf(mon, "\'%s\' has failed: ", cmdname);
2765
                    monitor_printf(mon, "integer is for 32-bit values\n");
2766
                    goto fail;
2767
                }
2762 2768
                qdict_put(qdict, key, qint_from_int(val));
2763 2769
            }
2764 2770
            break;

Also available in: Unified diff