From 75f76d10aad328a1af5961cb365a2b4325b98d8e Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Tue, 9 May 2023 00:31:22 +0300 Subject: boot: Port to x64_64 Message-Id: <20230508213136.608575-28-bugaevc@gmail.com> --- boot/boot_script.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot/boot_script.h') diff --git a/boot/boot_script.h b/boot/boot_script.h index da52e6f0..045dc949 100644 --- a/boot/boot_script.h +++ b/boot/boot_script.h @@ -98,12 +98,12 @@ int boot_script_exec (void); /* Create an entry in the symbol table for variable NAME, whose type is TYPE and value is VAL. Returns 0 on success, non-zero otherwise. */ -int boot_script_set_variable (const char *name, int type, integer_t val); +int boot_script_set_variable (const char *name, int type, intptr_t val); /* Define the function NAME, which will return type RET_TYPE. */ int boot_script_define_function (const char *name, int ret_type, int (*func) (const struct cmd *cmd, - integer_t *val)); + intptr_t *val)); /* Returns a string describing the error ERR. */ char *boot_script_error_string (int err); -- cgit v1.2.3