mirror of
https://github.com/redstrate/Astra.git
synced 2025-05-13 21:07:46 +00:00
Fix wrong format string in sprintf call
This commit is contained in:
parent
d49b27c3ce
commit
ea722bd7c2
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ std::pair<QString, int> encryptSteamTicket(QString ticket, qint64 time)
|
||||||
binaryWriter.append(garbage);
|
binaryWriter.append(garbage);
|
||||||
|
|
||||||
char blowfishKey[17]{};
|
char blowfishKey[17]{};
|
||||||
sprintf(blowfishKey, "%08x#un@e=x>", time);
|
sprintf(blowfishKey, "%08llx#un@e=x>", time);
|
||||||
|
|
||||||
binaryWriter.remove(0, 4);
|
binaryWriter.remove(0, 4);
|
||||||
binaryWriter.insert(0, reinterpret_cast<const char *>(&badSum), sizeof(uint));
|
binaryWriter.insert(0, reinterpret_cast<const char *>(&badSum), sizeof(uint));
|
||||||
|
|
Loading…
Add table
Reference in a new issue