1
0
Fork 0

BRIDGE: small changes

This commit is contained in:
mrexodia 2016-06-24 02:45:31 +02:00
parent cde6b41c8d
commit 7315183855
No known key found for this signature in database
GPG Key ID: D72F9A4FAA0073B4
2 changed files with 3 additions and 5 deletions

View File

@ -176,11 +176,11 @@ BRIDGE_IMPEXP bool BridgeSettingSetUint(const char* section, const char* key, du
{
if(!section || !key)
return false;
char newvalue[MAX_SETTING_SIZE] = "";
char newvalue[32] = "";
#ifdef _WIN64
sprintf(newvalue, "%llX", value);
sprintf_s(newvalue, "%llX", value);
#else
sprintf(newvalue, "%X", value);
sprintf_s(newvalue, "%X", value);
#endif //_WIN64
return BridgeSettingSet(section, key, newvalue);
}

View File

@ -335,10 +335,8 @@ typedef enum
enc_code, //start of code
enc_junk, //junk code
enc_middle //middle of data
} ENCODETYPE;
//Debugger typedefs
typedef MEMORY_SIZE VALUE_SIZE;
typedef struct SYMBOLINFO_ SYMBOLINFO;