Revision ed3d4a80 migration.c

b/migration.c
132 132

  
133 133
int do_migrate_set_speed(Monitor *mon, const QDict *qdict, QObject **ret_data)
134 134
{
135
    double d;
135
    int64_t d;
136 136
    FdMigrationState *s;
137 137

  
138
    d = qdict_get_double(qdict, "value");
138
    d = qdict_get_int(qdict, "value");
139 139
    d = MAX(0, MIN(UINT32_MAX, d));
140 140
    max_throttle = d;
141 141

  

Also available in: Unified diff