--- libgig/trunk/src/gig.cpp 2021/06/19 10:55:04 3959 +++ libgig/trunk/src/gig.cpp 2021/06/19 10:58:51 3960 @@ -5808,7 +5808,7 @@ * @param slot - script slot index of the variable to be retrieved * @param variable - name of the 'patch' variable in that script */ - String Instrument::GetScriptPatchVariable(int slot, String variable) { + String Instrument::GetScriptPatchVariable(size_t slot, String variable) { std::map vars = GetScriptPatchVariables(slot); return (vars.count(variable)) ? vars.find(variable)->second : ""; }