Fixing execution key generation based on CR.

This commit is contained in:
Markus Kauppila 2011-08-02 12:46:40 +03:00
parent 1633238f90
commit c2b70264ed
12 changed files with 86 additions and 59 deletions

View file

@ -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;
}