{
char *err;
int intval;
+ long long llval;
switch (type) {
case BLOBMSG_TYPE_STRING:
blobmsg_add_u32(b, name, intval);
break;
+ case BLOBMSG_TYPE_INT64:
+ llval = strtoll(str, &err, 0);
+ if (*err)
+ return false;
+
+ blobmsg_add_u64(b, name, llval);
+ break;
default:
return false;
}
mark:
ret = true;
if (diff)
- bitfield_set(diff, i);
+ uci_bitfield_set(diff, i);
else
return ret;
}