From 91d174c82758df4521d2cbd701558368e939a33c Mon Sep 17 00:00:00 2001 From: BroGamer <64546358+BroGamer4256@users.noreply.github.com> Date: Sat, 3 Sep 2022 02:11:48 +1200 Subject: [PATCH] Fix --- src/dllmain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dllmain.c b/src/dllmain.c index 4b6daf7..e23b231 100644 --- a/src/dllmain.c +++ b/src/dllmain.c @@ -192,10 +192,10 @@ i32 __stdcall DllMain (HMODULE mod, DWORD cause, void *ctx) { i64 accessCode2Int = readConfigInt (config, "accessCode2", 2); i64 chipId1Int = readConfigInt (config, "chipId1", 1); i64 chipId2Int = readConfigInt (config, "chipId2", 2); - sprintf (accessCode1, "%020d", accessCode1Int); - sprintf (accessCode2, "%020d", accessCode2Int); - sprintf (chipId1, "%032d", chipId1Int); - sprintf (chipId2, "%032d", chipId2Int); + sprintf (accessCode1, "%020lld", accessCode1Int); + sprintf (accessCode2, "%020lld", accessCode2Int); + sprintf (chipId1, "%032llx", chipId1Int); + sprintf (chipId2, "%032llx", chipId2Int); toml_free (config); }