summaryrefslogtreecommitdiffhomepage
path: root/csv/csv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'csv/csv.cpp')
-rw-r--r--csv/csv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp
index 71db8ecb..e55b429c 100644
--- a/csv/csv.cpp
+++ b/csv/csv.cpp
@@ -97,7 +97,8 @@ void CSV::getGameData( const int id, unsigned char* table, QString& gamename)
QString gameID = QString::number(id);
/* zero table first, in case unknown game is connecting */
- memset(table, 0, 8);
+ for (int i = 0; i < 8; i++)
+ table[i] = 0;
QStringList gameLine;
qDebug() << "getGameData, ID = " << gameID;