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:
parent
1e3117c789
commit
d989894ad4
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user