1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

[OP-835] Qt 5.1.0 - migrated uavobjgenerator/uavobjectparser.cpp

This commit is contained in:
Philippe Renon 2013-09-15 23:16:20 +02:00
parent 1e3117c789
commit d989894ad4

View File

@ -303,7 +303,7 @@ quint32 UAVObjectParser::updateHash(quint32 value, quint32 hash)
*/
quint32 UAVObjectParser::updateHash(QString & value, quint32 hash)
{
QByteArray bytes = value.toAscii();
QByteArray bytes = value.toLatin1();
quint32 hashout = hash;
for (int n = 0; n < bytes.length(); ++n) {