--- libgig/trunk/src/gig.cpp 2021/06/19 10:44:14 3957 +++ libgig/trunk/src/gig.cpp 2021/06/19 10:48:12 3958 @@ -5742,7 +5742,7 @@ * @param slot - script slot index of the variable to be retrieved * @param variable - name of the 'patch' variable in that script */ - bool Instrument::IsScriptPatchVariableSet(int slot, String variable) { + bool Instrument::IsScriptPatchVariableSet(size_t slot, String variable) { if (variable.empty()) return false; Script* script = GetScriptOfSlot(slot); if (!script) return false;