Try result->value.intValue = ii;