diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index dbd3c3ec..86bc3a1b 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -1439,7 +1439,7 @@ void scallvote(int *type, const char *arg1, const char *arg2) //FIXME: this stupid conversion of ints to strings and back should // really be replaced with a saner method char m[4]; - snprintf(&m[0], 4, "%d", nextmode); + sprintf(&m[0], "%d", nextmode); callvote(t, arg1, &m[0], arg2); break; }