Fixing execution key generation based on CR.
This commit is contained in:
parent
1633238f90
commit
c2b70264ed
12 changed files with 86 additions and 59 deletions
|
@ -33,11 +33,11 @@ char *IntToString(const int integer) {
|
|||
* \param integer The converted integer
|
||||
* \returns Given integer as string in hex fomat
|
||||
*/
|
||||
char *IntToHexString(const int integer) {
|
||||
char *IntToHexString(const Uint64 integer) {
|
||||
static char buffer[256]; // malloc might work better
|
||||
memset(buffer, 0, sizeof(buffer));
|
||||
|
||||
SDL_snprintf(buffer, sizeof(buffer), "%X", integer);
|
||||
SDL_snprintf(buffer, sizeof(buffer), "%llX", integer);
|
||||
|
||||
return buffer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue