--- libgig/trunk/src/gig.cpp 2021/06/19 11:01:40 3961 +++ libgig/trunk/src/gig.cpp 2021/06/19 11:05:00 3962 @@ -5876,7 +5876,7 @@ * @param slot - script slot index of the variable to be unset * @param variable - name of the 'patch' variable in that script */ - void Instrument::UnsetScriptPatchVariable(int slot, String variable) { + void Instrument::UnsetScriptPatchVariable(ssize_t slot, String variable) { Script* script = GetScriptOfSlot(slot); // option 1: unset a particular variable of one particular script slot