diff --git a/src/main/hook/f2/options.c b/src/main/hook/f2/options.c index 0e9995c..f4bea78 100644 --- a/src/main/hook/f2/options.c +++ b/src/main/hook/f2/options.c @@ -177,7 +177,7 @@ bool f2hook_options_init(int argc, char** argv, struct f2hook_options* options) options->patch.main_loop.x11_input_handler_api_lib = util_options_get_str(options_opt, F2HOOK_OPTIONS_STR_PATCH_HOOK_MAIN_LOOP_X11_INPUT_HANDLER); options->patch.net.server = util_options_get_str(options_opt, F2HOOK_OPTIONS_STR_PATCH_NET_PROFILE_SERVER); - options->patch.net.machine_id = strtoul( + options->patch.net.machine_id = strtoull( util_options_get_str(options_opt, F2HOOK_OPTIONS_STR_PATCH_NET_PROFILE_MACHINE_ID), NULL, 16); diff --git a/src/main/hook/fex/options.c b/src/main/hook/fex/options.c index 525b8e1..6cf647a 100644 --- a/src/main/hook/fex/options.c +++ b/src/main/hook/fex/options.c @@ -177,7 +177,7 @@ bool fexhook_options_init(int argc, char** argv, struct fexhook_options* options options->patch.main_loop.x11_input_handler_api_lib = util_options_get_str(options_opt, FEXHOOK_OPTIONS_STR_PATCH_HOOK_MAIN_LOOP_X11_INPUT_HANDLER); options->patch.net.server = util_options_get_str(options_opt, FEXHOOK_OPTIONS_STR_PATCH_NET_PROFILE_SERVER); - options->patch.net.machine_id = strtoul( + options->patch.net.machine_id = strtoull( util_options_get_str(options_opt, FEXHOOK_OPTIONS_STR_PATCH_NET_PROFILE_MACHINE_ID), NULL, 16); diff --git a/src/main/hook/fst/options.c b/src/main/hook/fst/options.c index 5343c73..a77872b 100644 --- a/src/main/hook/fst/options.c +++ b/src/main/hook/fst/options.c @@ -177,7 +177,7 @@ bool fsthook_options_init(int argc, char** argv, struct fsthook_options* options options->patch.main_loop.x11_input_handler_api_lib = util_options_get_str(options_opt, FSTHOOK_OPTIONS_STR_PATCH_HOOK_MAIN_LOOP_X11_INPUT_HANDLER); options->patch.net.server = util_options_get_str(options_opt, FSTHOOK_OPTIONS_STR_PATCH_NET_PROFILE_SERVER); - options->patch.net.machine_id = strtoul( + options->patch.net.machine_id = strtoull( util_options_get_str(options_opt, FSTHOOK_OPTIONS_STR_PATCH_NET_PROFILE_MACHINE_ID), NULL, 16);