diff --git a/src/MutateJS.cpp b/src/MutateJS.cpp index a28e2f16..f72b6b62 100644 --- a/src/MutateJS.cpp +++ b/src/MutateJS.cpp @@ -122,13 +122,13 @@ namespace mssql return val; } - Local MutateJS::get_array_elelemt_at_index(const Local& arr, const int index) + Local MutateJS::get_array_elelemt_at_index(const Local& arr, const unsigned int index) { const auto elem = arr->Get(index); return elem; } - void MutateJS::set_array_elelemt_at_index(const Local& arr, const int index, const Local& value) + void MutateJS::set_array_elelemt_at_index(const Local& arr, const unsigned int index, const Local& value) { arr->Set(index, value); }