diff --git a/framefileio.cpp b/framefileio.cpp index 24090d8..7bd8308 100644 --- a/framefileio.cpp +++ b/framefileio.cpp @@ -2111,7 +2111,9 @@ bool FrameFileIO::loadNativeCSVFile(QString filename, QVector* frames) { if (tokens[0].length() > 3) { - thisFrame.setTimeStamp(QCanBusFrame::TimeStamp(0, tokens[0].toULongLong())); + quint64 tstamp = tokens[0].toULongLong(); + if (tstamp == 0) tstamp = (quint64)(tokens[0].toLongLong()); + thisFrame.setTimeStamp(QCanBusFrame::TimeStamp(0, tstamp)); } else {