--- libgig/trunk/src/gig.h 2021/06/19 10:58:51 3960 +++ libgig/trunk/src/gig.h 2021/06/19 11:01:40 3961 @@ -1314,7 +1314,7 @@ bool IsScriptPatchVariableSet(size_t slot, String variable); std::map GetScriptPatchVariables(size_t slot); String GetScriptPatchVariable(size_t slot, String variable); - void SetScriptPatchVariable(int slot, String variable, String value); + void SetScriptPatchVariable(size_t slot, String variable, String value); void UnsetScriptPatchVariable(int slot = -1, String variable = ""); protected: Region* RegionKeyTable[128]; ///< fast lookup for the corresponding Region of a MIDI key