Skip to content

Commit

Permalink
Hopefully fix SQL server compilation with Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
def- committed Sep 23, 2015
1 parent 8b770a9 commit 97152e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/server/score/sql_score.cpp
Expand Up @@ -831,7 +831,7 @@ void CSqlScore::ShowTeamTop5Thread(void *pUser)
char aNames[2300];
int Rank = 0;
float Time = 0;
int aCuts[Rows];
int aCuts[320]; // 64 * 5
int CutPos = 0;

aNames[0] = '\0';
Expand Down Expand Up @@ -1184,7 +1184,7 @@ void CSqlScore::ShowTimes(int ClientID, const char* pName, int Debut)

void CSqlScore::FuzzyString(char *pString)
{
char newString[32*4-1];
char newString[127]; // 32 * 4 - 1
int pos = 0;

for(int i=0;i<64;i++)
Expand Down

0 comments on commit 97152e5

Please sign in to comment.