--- libgig/trunk/src/gig.cpp 2021/06/19 09:10:33 3952 +++ libgig/trunk/src/gig.cpp 2021/06/19 10:32:30 3953 @@ -5600,7 +5600,7 @@ * @param index1 - index of the first script slot to swap * @param index2 - index of the second script slot to swap */ - void Instrument::SwapScriptSlots(uint index1, uint index2) { + void Instrument::SwapScriptSlots(size_t index1, size_t index2) { LoadScripts(); if (index1 >= pScriptRefs->size() || index2 >= pScriptRefs->size()) return;