common : fix incorrect uses of stoul (#20313)

This commit is contained in:
Sigbjørn Skjæret
2026-03-10 11:40:26 +01:00
committed by GitHub
parent 0cd4f4720b
commit ec947d2b16
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -790,7 +790,7 @@ public:
} else if (target.is_array()) {
size_t sel_index;
try {
sel_index = std::stoul(sel);
sel_index = std::stoull(sel);
} catch (const std::invalid_argument & e) {
sel_index = target.size();
}