We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e1235a commit 97f2fc9Copy full SHA for 97f2fc9
plugins/include/clientprefs.inc
@@ -139,7 +139,7 @@ methodmap Cookie < Handle {
139
// @param value Integer value to set.
140
// @error Invalid cookie handle or invalid client index.
141
public void SetInt(int client, int value) {
142
- char sValue[11];
+ char sValue[12];
143
IntToString(value, sValue, sizeof(sValue));
144
145
this.Set(client, sValue);
@@ -173,7 +173,7 @@ methodmap Cookie < Handle {
173
174
public int GetInt(int client, int defaultValue = 0)
175
{
176
- char buffer[11];
+ char buffer[12];
177
this.Get(client, buffer, sizeof(buffer));
178
179
int value;
0 commit comments