Switch to unsigned integers where appropriate.

This commit is contained in:
Collin Kidder
2016-03-29 21:47:25 -04:00
parent ff5c9649a0
commit a8c817bcd0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ void SerialWorker::sendFrameBatch(const QList<CANFrame> *frames)
sendBulkMutex.unlock(); sendBulkMutex.unlock();
} }
void SerialWorker::updateBaudRates(int Speed1, int Speed2) void SerialWorker::updateBaudRates(unsigned int Speed1, unsigned int Speed2)
{ {
QByteArray buffer; QByteArray buffer;
qDebug() << "Got signal to update bauds. 1: " << Speed1 <<" 2: " << Speed2; qDebug() << "Got signal to update bauds. 1: " << Speed1 <<" 2: " << Speed2;
+1 -1
View File
@@ -53,7 +53,7 @@ public slots:
void closeSerialPort(); void closeSerialPort();
void sendFrame(const CANFrame *) override; void sendFrame(const CANFrame *) override;
void sendFrameBatch(const QList<CANFrame> *) override; void sendFrameBatch(const QList<CANFrame> *) override;
void updateBaudRates(int, int); void updateBaudRates(unsigned int, unsigned int);
//void stopFrameCapture(int) override; //void stopFrameCapture(int) override;
//void startFrameCapture(int) override; //void startFrameCapture(int) override;
void updatePortName(QString) override; //string version of the port to connect to. This base doesnt know a thing about this value void updatePortName(QString) override; //string version of the port to connect to. This base doesnt know a thing about this value